ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  EJB
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
whatis the diff between ejb and servlet/jsp
 Question Submitted By :: Smrutiranjan_sahoo
I also faced this Question!!     Rank Answer Posted By  
 
  Re: whatis the diff between ejb and servlet/jsp
Answer
# 1
Ejb is a EJBCntainer. servlet and jsp are webcontainer.
Ejb is business logic . servlet and jsp are presentation logic.
 
Is This Answer Correct ?    3 Yes 1 No
Senthil Kumar
 
  Re: whatis the diff between ejb and servlet/jsp
Answer
# 2
EJB used as persistant layer.
JSP used for presentation layer.
Servlet we can use as controller.
 
Is This Answer Correct ?    4 Yes 1 No
Guest
 
 
 
  Re: whatis the diff between ejb and servlet/jsp
Answer
# 3
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 ?    1 Yes 0 No
Afzal
 
  Re: whatis the diff between ejb and servlet/jsp
Answer
# 4
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 ?    0 Yes 1 No
Shilpa Kapurkar
 

 
 
 
Other EJB Interview Questions
 
  Question Asked @ Answers
 
How EJB component can in interact with COM/DCOM components?  1
What Is EJB Clustering? Explain the Functionality? Business-Architectures1
how to set the relationship between tables in ejb  1
abstract methods in SessionBean?  1
Explain the Sotware Architechture of EJB? Wipro1
How do you implement the Local Interfaces ? HCL1
what is the Control flow of an Entity?  1
What is beaninfo ?  1
How is an entity bean created?  1
what are the influence factors of ejbLoad() & ejbStore()?  1
What is JAR file?  3
Basic types of Enterprise JavaBeans?  2
What is the relationship between an EJB component, EJB container, and an application server?  2
Transaction Attributes? What is the use of ?RequiresNew? HCL1
How the container will maintain synchronization for multiple calls to the entity bean? HCL1
What is persistence?  1
What are the various methods of an Entity Bean?  1
What transaction attributes does Java Bean containers support?  1
what is SessionBean, EntityBean?  1
In EBs the DB state is more consistent than SBs why?  1
 
For more EJB Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com