wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes EJB vs JSP & servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB vs JSP & servlets" Watch "EJB vs JSP & servlets" New topic
Author

EJB vs JSP & servlets

Steve Jerome
Greenhorn

Joined: Mar 03, 2007
Posts: 22
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30136
    
150

Steve,
Session beans are used when you need more services from the container like security and transactions.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Krithika Srinath
Ranch Hand

Joined: Apr 11, 2006
Posts: 52
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

Joined: Mar 03, 2007
Posts: 22
thanks for the answer.
 
jQuery in Action, 2nd edition
 
subject: EJB vs JSP & servlets
 
Similar Threads
web project
Websphere 4.5
between .ear file and .war file
Servers
Please help me out