Create a project based on my blog “UPDATED Setting up a JEE 6 Web Profile
Maven Project in Eclipse using TomEE”.
Eclipse reveals its special capabilities such as specialized editors based on
the project’s facet. As it now stands the project you just created will
allow you to create Servlet/JSP applications. You need to add the JavaServer
Faces facet to the project.
Right-mouse click on the project and select Properties and then select
Project Facets. You will see:
You now need to add the JavaServer Faces facet version 2.1, change the Java
version to 1.7 and uncheck JAX-RS. It should now look like:
The version of TomEE, 1.6.0, that I am using does not yet have JSF 2.2 in its
library. Its current version is 2.1. If you need to use 2.2 then there is a
beta version of the library available as of this writing.
Do not click on OK yet.
Notice the lin... (more)
Performing this task will resolve a problem that occurs when using NetBeans
to configure a JDBC Connection Pool and JDBC Resource for GlassFish. The
default installation of NetBeans and GlassFish results in the naming of the
JDBC configuration file as sun-resources.xml when it should be named
glassfish-resources.xml. This is a Windows only problem.
The first step is to install NetBeans if you have not already done so. I
recommend the Java EE version. Download and install. All the defaults during
install are acceptable. Install GlassFish but it is not necessary to install
Is Eclipse Faster than Netbeans for Arquillian Testing on a Remote GlassFish
Server? Part 2
While putting my test code up on GitHub and writing the readme.md, I ran my
NetBeans test code on my 2011 early MacBook Pro.
To my surprise the times for both embedded and remote testing were between 25
and 35 seconds.
My original blog was based on working on a much much faster Windows 8.1
system that took 16 seconds for embedded but 100 seconds for remote. So I
guess we blame:
Microsoft Windows 8.1 Java on Windows
You can download the Eclipse version of the code at:
Step 1: Download and install WampServer
Download the latest version of WAMP from here.
As of this writing the current version is 2.0h dated 04/16/09 and file you
will download is called WampServer2.0h.exe
Run the file WampServer2.0h.exe
You will be asked to agree to the software license, approve the choice of
directory, select the default browser, and decide if you want a desktop
and/or quick launch icon. For the directory the default is c:\wamp but you
may change to whatever you like. In later steps in this document it will be
assumed you selected c:\wamp so change this to your ... (more)
Amazon EC2 Session at Cloud Expo New York
I received an Amazon Kindle for Xmas. It wasn’t a surprise as I put it on
the Xmas list my family insisted I provide. My wife had me order it with her
credit card to make sure it was exactly what I wanted. The order was placed
at the beginning of December to ensure it would arrive on time. It took just
four days to arrive here in Montreal from Amazon in the US.
Originally I had the Sony PRS-600 reader on my list. I made the list in
mid-November and the Kindle was not available in Canada. But at the end of
November Amazon announced it would... (more)