Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean interface

 
S Thiyanesh
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
JigaR Parekh
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Advantages are
- POJO and POJI
- Configuration by exception
....
[ October 27, 2006: Message edited by: JigaR Parekh ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic