whatis the diff between ejb and servlet/jsp

Answer Posted / shilpa kapurkar

EJB is a distributed component model for developing
secure,scalable, Transactional and multi user component.
EJBs are reusable software units containing business logic.
EJBs allow separation of application logic from system-level
services thus, allowing the developer to concentrate on the
business logic.EJBs reside in EJB container. needs
Application server.
Servlets are serverside components involved in request
response process. JSP- Java server Pages an extension to
servlet technology. JSPs are text based documents involved
in request response process. at run time JSPs are converted
into servlets. servlets , JSPs resides in web container. one
can use JSPs for presentation, controller as a servlet and
business components can be easily managed as EJBS.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ejb 3?

539


Why do we use ejb?

527


What is EJB object?

588


What are the key features of the ejb technology?

599


What is @autowired required false?

592






What is ejb in weblogic?

562


What is an ejb context?

571


What are the advantages of ejb components?

570


What is a ejb container?

523


What is ejb in java?

546


What does statelessness mean?

535


Is having static initializer blocks legal in ejb?

555


What are the callback annotations for the stateless bean?

498


What are versions of ejb?

619


How can a CORBA object, accessed from a EJB?

1686