whatis the diff between ejb and servlet/jsp

Answer Posted / anitha

a)EJB Applications run on only Application Servers.
Servlet/jsp's run on web/application servers.
b)Ejbs allows Remote Accessing.
Servlet/jsp's does not allow remote accessing
c)Ejbs mainly usefull for implementing Business Logic(Model
classes)
Servlet's/jsp's are usefull for impementing View and
Controller layers.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ejb technology?

499


What is @resource in java?

526


What are the design principles for ejb?

525


What is the difference between ejb and java beans?

561


Write down the steps for the creation of stateless ejb.

609






What is ejb role in j2ee?

586


Name the attributes of javax.ejb.stateful.

558


Why do we need ejb in java?

519


Explain the concept of connection pooling feature of ejb container?

528


What is remote interface in ejb?

537


What do you mean by EJB architecture?

579


How does ejb invocation happens?

558


What are the components of ejb?

566


What is ejb in weblogic?

556


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

535