I am new in J2EE, and as the subject says, I have to learn to develop EAR applications using an EJB module that supports JPA persistence provided by hibernate, and a WEB module for creating Web Services, all this under Glassfish.
I got it working using netbeans, the problem was trying to understand what netbeans does for me, then I wanted that you give me a guide or a place where to find that guide.
Manning EJB3 in Action describes all about EJB3.0.. (which a part of JEE5)..
Beginning Java™ EE 6 Platform with GlassFish™ 3 describe EJB3.1 (the new version of EJB3, and a part of JEE6)
There's a little different between EJB3.0 and EJB3.1, such as :
1. in EJB3.1 the EJB could be placed directly in WebApplication..
2. in EJB3.1 there's a new EJB type namely Singleton
3. as far as i know EJB3.1 offers lighter container (its mean that the deployment time needed is littler than EJB3.0)..
so now, its depend on what do you need..
do you need to implement JEE5 or JEE6?..
i think for learn purpose, both Manning EJB3 in Action and Beginning Java™ EE 6 Platform with GlassFish™ 3 is good.. ..
please correct me if i'm wrong...
Thanks in advance..
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
posted 9 years ago
Thanks for the clarifying, I think that I need to learn the EJB3.1 as I know that in my job are intended to work with EJB to develop web services
Well as you said that its deploying time is littler
Thank you very much Leonardo for asure me that I am in the right way.