my dog learned polymorphism*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes why Entity Bean is still there? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "why Entity Bean is still there?" Watch "why Entity Bean is still there?" New topic
Author

why Entity Bean is still there?

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
If I am not wrong, I read on this (http://docs.jboss.com/books/lightweight/ch01.html) page that Entity Bean is replaced with JPA (Java Persistance API) in Java EE 5, then why it is covered in SCEA beta objective?
[ October 05, 2007: Message edited by: ankur rathi ]
chris zielinski
Ranch Hand

Joined: Sep 22, 2007
Posts: 41
My thoughts:

Entity beans are still part of the EJB 3 specification. It is just that entity beans have not evolved since EJB 2.1. Also note that Entity beans have not been deprecated. This means that if there is a newer version of the EJB spec, Entity beans will be there too.

Since it is still possible to code both Entity beans and Entities in EJB 3, Entity beans is in the study material.

When someone would choose Entity beans and when someone would choose Entities is a trade-off decision that any likely JEE architect would have to make.. and hence it is in the syllabus!
eduardo ferreira
Greenhorn

Joined: Oct 01, 2007
Posts: 16
On the EJB spec, the entity beans were not evolved, but were not deprecated either. They will be deprecated on Java ee 6.
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Sun's Java EE 5 Tutorial say in its Overview chapter:

Java EE 5 Tutorial - Enterprise JavaBeans Technology
There are two kinds of enterprise beans: session beans and message-driven beans.
...
In Java EE 5, entity beans have been replaced by Java persistence API entities.


So no more Entity Beans
[ October 07, 2007: Message edited by: Darya Akbari ]

SCJP, SCJD, SCWCD, SCBCD
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Originally posted by ankur rathi:
Entity Bean is replaced with JPA (Java Persistance API) in Java EE 5, then why it is covered in SCEA beta objective?


Sorry Ankur,

My response to your question is not an answer at all. Actually I wonder myself now :roll: . That question should be really answered by one of the SCEA folks.

Regards,
Darya
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Unfortunately, the SCEA beta objectives 4.1 and 4.2 wants us to know about Entity Beans.
Bryan Basham
author
Ranch Hand

Joined: Apr 30, 2001
Posts: 199
Hello,

While I am not an EJB expert, I was on the SCEA team and I can tell you that part of what we are testing for is (as Chris mentioned) an awareness of the trade-offs of using EJB v2.1 Entity beans versus other persistence technologies such as JPA.

I have ask two other EJB experts on the SCEA team. I will post their comments when I get them.

Hi again, I just recieved en email from Mark Cade saying that what I wrote is a sufficient answer. Let me know if you have any more questions.

Regards,
Bryan
[ October 07, 2007: Message edited by: Bryan Basham ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why Entity Bean is still there?