File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB 2.0 VS EJB 3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 2.0 VS EJB 3.0" Watch "EJB 2.0 VS EJB 3.0" New topic
Author

EJB 2.0 VS EJB 3.0

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Hi All,

I find the following differences between EJB 2.0 and EJB 3.0. Can you guys add your own?

1). EJB 3.0 supports Annotations so having an ejb-jar.xml file is optional.
2). EJB 3.0 does not have home and remote interfaces.Instead, it has a business interface.

Thanks.

Be Humble... Be Nice.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

The first google hit on this topic found ten reasons.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Jeanne Boyarsky wrote:The first google hit on this topic found ten reasons.


Thanks. I think the way I google sucks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB 2.0 VS EJB 3.0