What is difference between Java Bean and Enterprise Java Bean?

By: Karthik Emailed: 1599 times Printed: 2051 times    

Latest comments
By: rohit kumar - how this program is work
By: Kirti - Hi..thx for the hadoop in
By: Spijker - I have altered the code a
By: ali mohammed - why we use the java in ne
By: ali mohammed - why we use the java in ne
By: mizhelle - when I exported the data
By: raul - no output as well, i'm ge
By: Rajesh - thanx very much...
By: Suindu De - Suppose we are executing

Answer: Java Bean as is a plain java class with member variables and getter setter methods. Java Beans are defined under JavaBeans specification as Java-Based software component model which includes the features like introspection, customization, events, properties and persistence.

Enterprise JavaBeans or EJBs for short are Java-based software components that comply with Java's EJB specification. EJBs are delpoyed on the EJB container and executes in the EJB container. EJB is not that simple, it is used for building distributed applications. Examples of EJB are Session Bean, Entity Bean and Message Driven Bean. EJB is used for server side programming whereas java bean is a client side. Bean is only development but the EJB is developed and then deploy on EJB Container.

Interview Home | All Interview Tutorials | Latest Interview Tutorials

Sponsored Links

If this tutorial doesn't answer your question, or you have a specific question, just ask an expert here. Post your question to get a direct answer.



Bookmark and Share

Comments(0)


Be the first one to add a comment

Your name (required):


Your email(required, will not be shown to the public):


Your sites URL (optional):


Your comments:



More Tutorials by Karthik
What is the difference between interface and abstract class?
What are the life-cycle methods of JSP?
What is JSP Scriptlet?
What is JSP declaration?
What types of comments are available in the JSP?
What is expression in JSP?
What is JSP Output Comments?
What are all the different scope values for the tag?
What are implicit Objects available to the JSP Page?
What is the difference between jsp:forward and response.sendRedirect(url),?.
What is the difference between jsp:include page and @ include file?
What do you understand by JSP Actions?
What are Access Specifiers available in Java?
Explain the different forms of Polymorphism.
Explain the Polymorphism principle.

More Tutorials in Interview
What is J2EE?
What do you understand by a J2EE module?
Tell me something about J2EE component?
What are the contents of web module?
Differentiate between .ear, .jar and .war files.
What is the difference between Session Bean and Entity Bean?
Why J2EE is suitable for the development distributed multi-tiered enterprise applications?
What do you understand by a container?
What are the services provided by a container?
What are types of J2EE clients?
What is Deployment Descriptor?
What do you understand by JTA and JTS?
What is JAXP?
What is J2EE Connector architecture?
What is difference between Java Bean and Enterprise Java Bean?

More Latest News
Most Viewed Articles (in Interview )
What is difference between Java Bean and Enterprise Java Bean?
Interview Question: What is Struts?
Interview Question: How is the MVC design pattern used in Struts framework?
Interview Question: Who makes the Struts?
Interview Question: Why it is called Struts?
Interview Question: What is Action Class?
Interview Question: Write code of any Action Class?
Interview Question: What is Struts Validator Framework?
Interview Question: What is ActionForm?
Interview Question: Why do we need Struts?
Interview Question: How does Struts work?
Interview Question: Is Struts compatible with other Java technologies?
Interview Question: Who wrote Struts?
Interview Question: Do you have to credit Struts on your own website?
Interview Question: Where can I get a copy of Struts?
Most Emailed Articles (in Interview)
Interview Question: What is Struts?
Interview Question: Why do we need Struts?
What do you understand by a container?
Interview Question: What is Action Class?
Interview Question: Write code of any Action Class?
Interview Question: Who wrote Struts?
Interview Question: What is EJB container?
Interview Question: Can i map more than one table in a CMP?
Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?
Question: How would you go about analyzing performance of an application?
What do you understand by a J2EE module?
What is JSP Output Comments?
Interview Question: How is the MVC design pattern used in Struts framework?
Interview Question: What is ActionForm?
Interview Question: How does Struts work?