This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
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..