whatis the diff between ejb and servlet/jsp

Answer Posted / surima jain

Servlet - A class inherited from HttpServlet which receives
the http requests and generate the response of forward the
request to another servlet or jsp page.
EJB - a class(object) which exists on a j2ee server and can
be accessed remote(from another JVM).

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a stateless session?

512


What were entity beans?

598


How to generate ejb stubs in eclipse?

745


Enlist the enterprise beans types?

612


What is meant by ejb?

520






How can one EJB be called from within another EJB?

527


Is ejb be called from another ejb? If yes then how?

534


Can tomcat run ejb?

542


What is ejb and its types in java?

516


TX operation funtion executed by?

2218


What is the difference between @requestparam and @pathvariable?

491


Can EJB made to handle multiple transactions?

611


What is stateless and stateful session bean in ejb?

496


What is session bean in ejb?

524


How many ejb objects are created for a bean?

551