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 ejb and its properties?

522


What is stateful or stateless?

528


What is an ejb container?

526


What does statelessness mean?

520


What does @inject mean in java?

642






What is session bean in ejb?

516


What changes have been made in ejb 2.0 specifications?

607


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?

535


Can an ejb send asynchronous notifications to its clients?

530


Explain transaction and various methods to manage it?

529


What happens when I change a value in the httpsession from inside an ejb?

521


can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

1778


How to create ejb project in eclipse?

524


What is an entity manager?

522


What is mdb?

547