GeeCON Prague 2014*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Section 3.6 (chapter 3)  from EJB 3.0 core spec. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Section 3.6 (chapter 3)  from EJB 3.0 core spec." Watch "Section 3.6 (chapter 3)  from EJB 3.0 core spec." New topic
Author

Section 3.6 (chapter 3) from EJB 3.0 core spec.

Vishal Chugh
Ranch Hand

Joined: Oct 27, 2007
Posts: 177
Hi,

I am going through EJB 3.0 core spec chapter 3 these days , I have one stupid doubt , As EJB 3.0 provides back-ward compatibility to support EJB 2.0 at the same time.

So do I need to have idea have idea of ins-outs of EJB 2.0 also for SCBCD 5.0 exam ?

My doubt is , should I go through below big topic also from spec ?

Section 3.6 ::
Remote and local client view of session beans wriiten to EJB 2.1 client view API


Please advice...

Thanks..
Vishal Chugh
Raf Szczypiorski
Ranch Hand

Joined: Aug 21, 2008
Posts: 383
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

This is enough.
Treimin Clark
Ranch Hand

Joined: Nov 12, 2008
Posts: 757
Raf Szczypiorski wrote:
- knowing about the @Init annotation for statefull beans


Do we really need to know about this?
Raf Szczypiorski
Ranch Hand

Joined: Aug 21, 2008
Posts: 383
I think I had it at my exam, but then again, I had done a few mocks before it so I might be wrong. But, it is just a single annotation... Don't sweat it ;-)
Treimin Clark
Ranch Hand

Joined: Nov 12, 2008
Posts: 757
Raf Szczypiorski wrote:I think I had it at my exam, but then again, I had done a few mocks before it so I might be wrong. But, it is just a single annotation... Don't sweat it ;-)


I didn't know about that before.
Ralph Jaus
Ranch Hand

Joined: Apr 27, 2008
Posts: 342
I didn't know about that before.

Also have a look at the exam objectives:
General EJB 3.0 Enterprise Bean Knowledge

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.


SCJP 5 (98%) - SCBCD 5 (98%)
Sri Vidya
Greenhorn

Joined: May 12, 2008
Posts: 17
Hi Vishal !!

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..

Regards,
Sri Vidya.
SCJP5, SCWCD5.
Vishal Chugh
Ranch Hand

Joined: Oct 27, 2007
Posts: 177
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.


Thanks
Vishal Chugh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Section 3.6 (chapter 3) from EJB 3.0 core spec.