| Author |
servelets in place of ejb
|
mah kumar
Greenhorn
Joined: Feb 05, 2004
Posts: 22
|
|
We know servelets are java server components that can be used as a middleware... Same is the case with EJB.... I would like to know where servelets has to be used and where EJB...?? also please get me the advantages and disadvantages in using them... thank you
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
This is covered in every book on J2EE -- I'd refer you there for details. In short, Servlets (with JSPs) provide the graphical front-end of a Web Application -- what you see in the browser. EJB's run the business logic of your application -- handling things like persistence and transactions. They are really nothing alike. Kyle
|
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
|
 |
 |
|
|
subject: servelets in place of ejb
|
|
|