• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

why Entity Bean is still there?

 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On the EJB spec, the entity beans were not evolved, but were not deprecated either. They will be deprecated on Java ee 6.
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unfortunately, the SCEA beta objectives 4.1 and 4.2 wants us to know about Entity Beans.
 
author
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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'd appreciate it if you pronounced my name correctly. Pinhead, with a silent "H". Petite ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic