Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB vs JSP & servlets

 
Steve Jerome
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why should we use EJB when servlets and JSP can be used to develop application? How is EJB advantageous in developing distributed application?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve,
Session beans are used when you need more services from the container like security and transactions.
 
Krithika Srinath
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To add...
- EJB can also make the data access easy when you use CMP.

This article will be of help to get more visualisation on when to go for EJB.
 
Steve Jerome
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the answer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic