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 are the key benefits of the ejb technology?

612


What are stateless functions?

520


What’s new in the ejb 2.0 specification?

539


Elucidate callback in ejb?

547


What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

541






What is software architecture of ejb?

540


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?

567


What is the default transaction attribute for an ejb?

543


What is enterprise bean provider?

608


What is bean-managed transaction?

565


What is bean-managed persistence?

580


What is jar, war, and ear?

624


Explain the important elements of ejb?

553


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

533


What is an ejb container?

532