• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity Bean in 3.0

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Note that entity beans haven't been enchanced in EJB.30. Since tehre ahve been no changes made to entity beans i EJB 3.0, we have decided that this edition of our book shall not address entity beans"

I read the above line in Mastering EJB.

But what I thought was the there is considerable change in EJB 3.0 (Entity Beans)

Can someone explain ..

Shashank
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shashank, I started a similar thread in the Architect Exam forum.

You are probably referring to JPA as the "upgraded" Entity Beans. Well in fact, JPA is not a replacement but an alternative to Entity Beans.

Unlike EJBs, Entities in JPA can be reused outside the EJB container (eg desktop applications, simple web applications, etc).

If you are familiar with Hibernate, the concepts are very similar (Hibernate is in fact an implementation of JPA, together with TopLink).
 
Mark Garland
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just read that exact quote in the same book.

I'm new to EJB, but the section on page 64 cleared this up for me. Try there.

At the risk of hi-jacking this thread, my question would be whether we need to revisit the 2.1 Entity Beans as a requirement for the exam?
 
Mark Garland
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No takers?
This forum seems a little dead compared with the SCWCD one?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic