I am developing a JavaEE application and deploying it to Glassfish 3. I am using Ubuntu 12.04, Eclipse for EE developers and OpenJDK 6 JDK (openjdk-6-jdk package). There are no problems at the moment.
The problem is that wherever I look for information about using OpenJDK to develop Java EE, I find that it is assumed that OpenJDK is just Java SE, for example here , or here . However, in my application I use javax.* lot and work.
I downloaded the OpenJDK 6 source and found the /jdk/src/share/classes/javax/ with a lot of classes, but some importers are missing, like javax.servlet , javax.ejb or javax.faces .
Again, I have no other JDK besides OpenJDK, neither GCJ, nor Oracle.
My question is: how is this possible? Does OpenJDK support the JavaEE API? Can it be used for this, or do I need to download and install Oracle JDK? I donβt understand anything here?
Note that Oracle displays the SDK for SE separately from the SDK for EE, so I assume they are different, right?
Yours faithfully
Havok
source share