You need to know how to integrate these 2 versions. It comes down to:
- knowing that you can use EJB 2.1 in EJB 3 by injecting a 2.1 bean's home interface
- knowing that you can use EJB 3 in EJB 2.1 by declaring EJB 3 in the deployment descriptor and using JNDI lookups (dependency injection for EJB < 3.0 is not required by the specs)
- knowing about the @Init annotation for statefull beans
Identify correct and incorrect statements or examples about EJB 3.0 / EJB 2.x interoperability, including how to adapt an EJB 3.0 bean for use with clients written to the EJB 2.x API and how to access beans written to the EJB 2.x API from beans written to the EJB 3.0 API.
i have read your post before "I am novice to SCBCD family , Hello All..."..
me also novice to SCBCD..myself completed SCWCD last month and planning to prepare for SCBCD.
so out of the books you have listed..have you decided to go through the specs first?
how are you finding it? is it easy to understand? as so many people have listed EJB3 in action is the best one i am planning to go with that book. i did not start my preparation yet..
Joined: Oct 27, 2007
Thank you very much all for guiding me!!! ... Appreciated .... Actually , I got so confused , now its okay.
Sri, I have sent you private message . Please check.
subject: Section 3.6 (chapter 3) from EJB 3.0 core spec.