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 bean interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "bean interface" Watch "bean interface" New topic
Author

bean interface

S Thiyanesh
Ranch Hand

Joined: Mar 19, 2006
Posts: 142
What's the advantage of the Bean interface model of EJB 3.0 over the pervious home/component interface model in EJB 2.x?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Some of the advantages:

- Ease of development in EJB3, since there is no longer the need for having Home interfaces.

- The required business interface for a session bean can be a plain Java interface rather than an EJBObject, EJBLocalObject, or java.rmi.Remote interface.

- Also, with the advent of annotations, there is no longer a need for deployment descriptors.
[ October 26, 2006: Message edited by: Jaikiran Pai ]

[My Blog] [JavaRanch Journal]
JigaR Parekh
Ranch Hand

Joined: May 23, 2005
Posts: 112
Advantages are
- POJO and POJI
- Configuration by exception
....
[ October 27, 2006: Message edited by: JigaR Parekh ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bean interface
 
Similar Threads
Correct Framework for J2EE
Implementation of design class as EJB.
Can ejbHome Methods be declared as final?
EJB Structure used in Client-Server Program?
Doubt from the specs