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

Which services are provided to ejb components by the ejb container?

733


How to find ejb version in websphere?

546


What is mdb?

554


Which is more beneficial: Stateful or Stateless Bean?

582


What do you mean by ‘hot deployment’ ?

590






Which is more beneficial: CMP or BMP?

604


Can tomcat run ejb?

537


Can remove() be a Stateless Session bean?

583


Differentiate Conversational from Non-conversational interactions?

546


Does spring use ejb?

506


What is session facade in ejb?

559


How does the server decide which beans to passivate and activate?

533


Why should we use ejb?

527


What are the key benefits of the ejb technology?

612


What is enterprise bean?

597