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 does @inject mean in java?

825


What is ejb and how it works?

721


How many enterprise beans?

703


Which is the only method defined in the javax.ejb.handle interface?

840


Mention the three levels for applying interceptor methods.

734


Write down the steps for the creation of stateless ejb.

757


What are the advantages of java beam?

741


How is consistency maintained by Stateful Session through transaction updates ?

852


What is a local interface?

745


How to import ejb project in eclipse?

760


Is functional programming stateless?

715


Explain ejbhome and ejbobject in ejb?

780


What is stateless session bean?

766


What is @resource in java?

711


Explain the concept of ejb ql?

794