Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

EJB 3.0

  Asked By: Nisha    Date: Mar 22    Category: Java    Views: 725
  

J2EE is going to be more easy to use than before by EJB 3.0,
this was the biggest news of TheServerSide Symposium,
the new spec will get a lot of its ideas from some popular open source projects
such as Hibernate and Spring,
the most important changes in EJB 3.0 are:
- POJO based(plain old java objects - nothing to extend)
- Dependency Injection
- Testability outside the container
- Annotations
- CMP becomes like Hibernate

See: www.theserverside.com/.../thread.tss

So we can think again about J2EE with EJB.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Hariz Burki     Answered On: Mar 22

i am a hibernate  USER. Is ejb  3.0 works like HIBERNATE

can we use object oriented sql in ejb 3.0. In hibernate we can use O-O sql .like

List items = sess.find("select item from item in class test.hibernate.data.OrderItem " +" where it

em.id='"+ iid +"'");

 
Answer #2    Answered By: Bien Nguyen     Answered On: Mar 22

definitely, you can, as you could do it in ejb2.0/2.1 , but ejb  3.0 in its new features has added explicit joins.

 
Didn't find what you were looking for? Find more on EJB 3.0 Or get search suggestion and latest updates.




Tagged: