aspose 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 Java 8 in Action this week in the Java 8 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: 9343
    
111

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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: bean interface
 
Similar Threads
Can ejbHome Methods be declared as final?
Doubt from the specs
Correct Framework for J2EE
EJB Structure used in Client-Server Program?
Implementation of design class as EJB.