Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


whatis the diff between ejb and servlet/jsp

Answers were Sorted based on User's Feedback



whatis the diff between ejb and servlet/jsp..

Answer / guest

EJB used as persistant layer.
JSP used for presentation layer.
Servlet we can use as controller.

Is This Answer Correct ?    20 Yes 6 No

whatis the diff between ejb and servlet/jsp..

Answer / 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

whatis the diff between ejb and servlet/jsp..

Answer / afzal

In ejb u hv many inbult feature like "Transaction
Management", "Security Management" etc. U just hv to call
those function for managing all this thing. All the things
r managed by/depends on application server.

In Servlet/JSP for Implementing all this thing 1 has to
write complex codes.

Important using EJB in small application is tradeoff.

Is This Answer Correct ?    5 Yes 2 No

whatis the diff between ejb and servlet/jsp..

Answer / 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

whatis the diff between ejb and servlet/jsp..

Answer / surima jain

Servlet - A class inherited from HttpServlet which receives
the http requests and generate the response of forward the
request to another servlet or jsp page.
EJB - a class(object) which exists on a j2ee server and can
be accessed remote(from another JVM).

Is This Answer Correct ?    2 Yes 1 No

whatis the diff between ejb and servlet/jsp..

Answer / senthil kumar

Ejb is a EJBCntainer. servlet and jsp are webcontainer.
Ejb is business logic . servlet and jsp are presentation logic.

Is This Answer Correct ?    11 Yes 12 No

Post New Answer

More EJB Interview Questions

Why is ftp stateful?

0 Answers  


What are the various types of entrepreneur java bean?

0 Answers  


What are the properties in Beans?

1 Answers  


Can i write business logic methods in entitybean?

3 Answers   HCL,


Can beans who are involved in transaction have 'passivation' process?

0 Answers  


Is it possible to share an httpsession between a jsp and ejb?

0 Answers  


What is an entity manager?

0 Answers  


Can you be deported if you are stateless?

0 Answers  


Which is more beneficial: CMP or BMP?

0 Answers  


What is difference between ejb 1.1 and ejb 2.0?

0 Answers  


Can an ejb send asynchronous notifications to its clients?

0 Answers  


Is having static initializer blocks legal in ejb?

0 Answers  


Categories