This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple EJBs in an application  RSS feed

 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any advantage/disadvantage is using multiple EJB's in an application?

One approach is to have an EJB corresponding to each usecase so that the use cases can be independently altered/tracked.

Another approach is to have a single stateful/stateless session bean and use helper classes (POJO's) to implement the business logic. Does this (or doesnt this) approach make the entire application light weight, faster and yet make available the features of EJBs ?
 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions/comments on this ?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!