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

Can you be deported if you are stateless?

470


What is @enableautoconfiguration?

525


What is ejb in java with example?

511


What is applicationscoped?

537


What are the system services of ejb container?

624






What is difference between stateless and stateful?

493


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

557


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

560


Can an ejb send asynchronous notifications to its clients?

526


How to determine, that beans are TX or not?

1623


Differentiate Phantom from Un-repeatable?

561


What does ejb stand for?

610


what is the Relationship between EJB and CORBA architecture?

3413


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

506


What is ejb and its types?

510