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

How ejb invocation happens?

564


What is the difference between @requestparam and @pathvariable?

480


What is ejb and its types in java?

500


Explain the concept of connection pooling feature of ejb container?

521


What is ejb ql?

564






what is the Relationship between EJB and CORBA architecture?

3413


What is the use of @ejb annotation?

528


What is mdb?

546


How to determine, that beans are TX or not?

1623


What is entity bean?

584


What are the limitations of using local object?

531


What is stateful session bean?

558


What are the basic and subtypes of enterprise java beans (ejb)?

531


What is ejb and its architecture?

508


What is Enterprise JavaBeans Query Language (EJB QL)?

538