• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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

 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raf Szczypiorski wrote:
- knowing about the @Init annotation for statefull beans



Do we really need to know about this?
 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 757
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic