what is difreence between javabeans and enterprise beans

what is difreence between javabeans and enterprise beans

what is difreence between javabeans and enterprise beans
View Answers

March 30, 2010 at 12:56 PM

Hi Friend,

Differences:

1)Java Beans are used for building extendable components and contain getters and setters for all its data members, along with other required functionality while EJBs are server side programs that typically implement middle layer business functionality.

2)JavaBean is standalone and works only in the same JVM while EJB is designed to work in distributed environment using rmi/iiop protocol.

3)There is no explicit support exists for transactions in javaBeans while EJB's may be transactional and the EJB servers provide transactional support.

4)JavaBeans may have BeanInfo classes,property editors or
customizers while EJB's have no concept of BeanInfo classes,property editors or customizers and provide no additional information other than that described inthe deployment descriptor.

5)JavaBeans are intended to be local to a single process
and are primarly intended to run on the client side. Although one can develop server-side JavaBeans,it is far easier to develop them using the EJB specification instead.

Thanks









Related Tutorials/Questions & Answers:
what is difreence between javabeans and enterprise beans - EJB
what is difreence between javabeans and enterprise beans  what is difreence between javabeans and enterprise beans  Hi Friend, Differences: 1)Java Beans are used for building extendable components and contain
Enterprise JavaBeans (EJB) Basics
of Enterprise JavaBeans, how to use it in making server side component. Enterprise JavaBeans is quite different from JavaBeans and you should not confuse between the two. The Enterprise JavaBeans (EJB) is a technology used for developing server
Advertisements
Enterprise Beans
Enterprise Beans       Enterprise beans are the Java EE server side components that run inside the ejb container... by many users. Enterprise beans are used to perform various types of task like
Enterprise JavaBeans (EJB): An Overview
Enterprise JavaBeans (EJB): An Overview Enterprise JavaBeans (EJB) is a Java..., EJB 2.1, EJB 3.0, EJB 3.1. The latest version of Enterprise JavaBeans is EJB... container or browser enabled with Java Plug-in. Enterprise Beans Enterprise
Introduction To Enterprise Beans
Introduction To Enterprise Beans In this tutorial you will learn about the Enterprise Beans. Enterprise Bean :- A bean that is a component of Java Enterprise Edition which gives the implementation of Enterprise JavaBeans technology
Enterprise Beans
Enterprise Beans       Enterprise beans are the Java EE server side components that run inside the ejb container... by many users. Enterprise beans are used to perform various types of task like
Types of Enterprise Beans
Types of Enterprise Beans In this section we will discuss about the types of Enterprise Beans. Summarily there are two types of Enterprise Beans... the work flow of various enterprise beans are required to manage by the bean
How to access Enterprise Beans
How to access Enterprise Beans In this tutorial you will learn that how to access Enterprise Beans (applicable only to session beans not to message-driven beans) Enterprise beans are accessed by the client in two ways either through
EJB, Enterprise java bean- Why EJB (Enterprise Java Beans)?
Why EJB (Enterprise Java Beans)?        Enterprise Java Beans or EJB... special methods. Enterprise JavaBeans is a more complex extension
Enterprise JavaBeans (EJB) Tutorials
EJB Tutorials Enterprise JavaBeans (EJB) is a server-side component... will learn the entire concept of Enterprise JavaBeans beginning from the basics... enabled with Java Plug-in.ADS_TO_REPLACE_3 Enterprise Beans Enterprise beans
What is the difference between the >> and >>> operators?
What is the difference between the >> and >>> operators?   hi, What is the difference between the >> and >>> operators? Thanks
Java Beans Books
as Beans. JavaBeans is a core JDK1.1 capability. Any JDK1.1-compliant... is a hands-on guide to learning JavaBeans and the Beans Development Kit (BDK....       Enterprise JavaBeans
what is the difference between extends and implements
what is the difference between extends and implements  difference between extends and implements
what is the difference between extends and implements
what is the difference between extends and implements  difference between extends and implements
What is the difference between JPA and Hibernate?
What is the difference between JPA and Hibernate?  Hi, I have seen... it for enterprise applications and there is good demand in market. What is the difference between JPA and Hibernate? What a beginner should learn? Thanks   Hi
What is the difference between PHP4 and PHP5?
What is the difference between PHP4 and PHP5?  What is the difference between PHP4 and PHP5
What is difference between a PROCEDURE & FUNCTION ?
What is difference between a PROCEDURE & FUNCTION ?  What is difference between a PROCEDURE & FUNCTION
What is the difference between $message and $$message?
What is the difference between $message and $$message?  What is the difference between $message and $$message
what is the Difference between weblogic and jboss?
what is the Difference between weblogic and jboss?  what is the Difference between weblogic and jboss
what is the difference between pop and oop
what is the difference between pop and oop  what is the difference between pop and oop
What is the difference between hibernate and spring
What is the difference between hibernate and spring  Hi, What is the difference between hibernate and spring. Thanks
What are the differences between EJB and Spring
What are the differences between EJB and Spring   Hi, What are the differences between EJB and Spring Thanks
What is the difference between a constructor and a method?
What is the difference between a constructor and a method?  Hi, What is the difference between a constructor and a method?   Hi, I have found a good link of Java program related to difference between constructor
What is the difference between EJB 3.0 and JPA - Framework
What is the difference between EJB 3.0 and JPA   What is the difference between EJB 3.0 and JPA. How can they work together. Does EJB 3.0 need... data in Java Platform, Standard Edition and Java Platform, Enterprise Edition
Developing Distributed application using Enterprise Java Beans, J2EE Architecture, EJB Tutorial, WebLogic Tutorial.
) Enterprise Java Beans (EJB) Java Server Pages (JSP... and more information. 3. Enterprise JavaBeans... definition of Enterprise JavaBeans is: ADS
What is difference between the java and javascript?
What is difference between the java and javascript?  What is the difference beteen the java and javascript?   Hello Friend, Read HereADS_TO_REPLACE_1 Thanks
What is the difference between a JDK and a JVM?
What is the difference between a JDK and a JVM?  Hi, What is the difference between a JDK and a JVM? Thanks,   Hi, JDK is stand... to compile your source files using a JVM. For more difference between JDK and JVM
What is difference between Path and Classpath?
What is difference between Path and Classpath?   hi What is difference between Path and Classpath? thanks   Hi, The Path & Classpath are used for operating system level environment variales. We mostly use Path
Difference between JDBC , Entity Beans in EJB 3.0,Hibernate - EJB
Difference between JDBC , Entity Beans in EJB 3.0,Hibernate  What is difference between JDBC 2.0, Entity Bean in EJB 2.0, Hibernate, Entity Bean in EJB 3.0  Hi Friend, Please visit the following links to know about
What is difference between TRUNCATE & DELETE
What is difference between TRUNCATE & DELETE   What is difference between TRUNCATE & DELETE?   Hi, The DELETE command is used to remove rows from a table. A WHERE clause can be used to only remove some rows
What is difference between the java and javascript?
What is difference between the java and javascript?  What is the difference beteen the java and javascript?   Hello Friend, Difference:ADS_TO_REPLACE_1 1) Java is a Object Oriented programming language developed
JavaBeans
technology. The advantages of java beans are that JavaBeans has more than a good... JavaBeans         JavaBeans are reusable software components designed for the Java
What is the difference between IN and BETWEEN, that are used inside a WHERE clause?
What is the difference between IN and BETWEEN, that are used inside a WHERE clause?  What is the difference between IN and BETWEEN, that are used inside a WHERE clause?   Hi, The BETWEEN clause is used to fetch a range
What is the difference between static and dynamic SQL?
What is the difference between static and dynamic SQL?  What is the difference between static and dynamic SQL?   Hi, Static SQL is SQL... (especially Enterprise Applications) reach a stage where some dynamic data
What is the difference between JSF, Servlet and JSP?
What is the difference between JSF, Servlet and JSP?  What is the difference between JSF, Servlet and JSP
What is the difference between ereg_replace() and eregi_replace()?
What is the difference between ereg_replace() and eregi_replace()?  What is the difference between eregreplace() and eregireplace
What is the difference between the functions unlink and unset?
What is the difference between the functions unlink and unset?  What is the difference between the functions unlink and unset
What are the difference between abstract class and interface?
What are the difference between abstract class and interface?  What are the difference between abstract class and interface
What’s the difference between include and require?
What?s the difference between include and require?  What?s the difference between include and require
What are the differences between require and include, include_once?
What are the differences between require and include, include_once?  What are the differences between require and include, include_once
what is the difference between distributed application and web application?
what is the difference between distributed application and web application?  what is the difference between distributed application and web application
What’s the difference between load() and get()?
What?s the difference between load() and get()?   Hi, What?s the difference between load() and get()? thanks
What is difference between singleton and prototype bean?
What is difference between singleton and prototype bean?  Hi, What is difference between singleton and prototype bean? Thanks
what is difference between objectan primitive? - Java Beginners
what is difference between objectan primitive?  whatis difference between object and primitive
What is the difference between the Boolean & operator and the && operator?
What is the difference between the Boolean & operator and the && operator?   Hello, What is the difference between the Boolean & operator and the && operator? thanks
what is the difference between productList==null and productList.size()==0
what is the difference between productList==null and productList.size()==0  what is the difference between productList==null and productList.size()==0? here productList is of type LIST
What are difference between Bean Factory and Application Context ?
What are difference between Bean Factory and Application Context ?  Hi, What are difference between Bean Factory and Application Context
what is the difference between the eclipse and myeclipse - IDE Questions
what is the difference between the eclipse and myeclipse  what is the difference between the eclipse and myeclipse  Hi Friend, Difference: Eclipse is an IDE or platform for developing, whereas MyEclipse
What is the difference between component and tag in JSF?
What is the difference between component and tag in JSF?  Please let me know,becaus i am new to jsf and am confusing
What is the difference between GET and POST method?
What is the difference between GET and POST method?  In PHP, both GET... there is a lots of difference between the both. Can anyone please explain...;difference between get and post method in PHP POST method is more secure than GET

Ads