This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java EE 6 Profile and Glassfish confusion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java EE 6 Profile and Glassfish confusion" Watch "Java EE 6 Profile and Glassfish confusion" New topic

Java EE 6 Profile and Glassfish confusion

Marc Heruela
Ranch Hand

Joined: Jul 23, 2009
Posts: 38
Hi guys,

This may sound a little stupid for a java developer for four years but I'm currently confuse.

I've installed jdk6 and glassfish 3.2 separately; tried to build the simplest ejb project and invoked the ejb from a stand-alone client (Java class), but I have an error saying Remote interface is not available in EJB 3.1 Lite. Sure enough, right there and then I found out Java has now two profiles, one for Lite and one Full. EJB 3.1 Lite is a subset of EJB 3.1 Full....... EJB3.1 Lite is part of Java EE 6 Web which is a subset of Java EE 6 Full (please correct me if I am wrong). So I assumed that I need to look for Java EE 6 Full specification (I assumed that what I have installed is the Java EE 6 Web specification, which I am so sure the jdk6 installer I downloaded does not specify it to be web profile). Then finally I went to Oracle and got this, java_ee_sdk-6u4-windows-ml.exe. Installing it prompted me the error telling me that I need at least 1.6 version of Java (TM) 2 Runtime Environment installed (I am sure I have it, but why do I need jre6 to install jdk6 if jdk6 already has jre6, I don't understand this). Okay I already installed the above sdk but the installer UI tells me it is installing Glassfish 3.1.2. What's happening, I thought I'm installing java ee sdk 6u4?

I am new to EJB3, I've been using jdk5 with spring, hibernate, struts2 in tomcat6 with no problem. Please shed me some light. I tried "googling" and read a lot, just want to confirm from the experts.


ps: I already have my simple EJB project up and running, but just want to clarify the above.. for future reference for some confuse soul as me..

jQuery in Action, 2nd edition
subject: Java EE 6 Profile and Glassfish confusion