Lavanya
Answered On : Apr 17th, 2005
Java Beans architecture is meant to provide a format of general-purpose components. But Enterprise Bean Architecture is meant to provide a format of highly specialized business logic components.
Login to rate this answer.
Mohan
Answered On : May 20th, 2005
Java Beans is intra-process component
where as EJB is an Inter-Process component
JavaBeans is particularly well-suited for asynchronous, intra-application communications among software
Login to rate this answer.
J. P. Naidu
Answered On : Jul 28th, 2005
EJB is designed to work in distributed environment using rmi/iiop protocol where as JavaBean is standalone and works only in the same JVM.
Implicit services are provided to EJb by the Container, in which it si deployed according to EJB contract but in JavaBean we need to code all these services
Login to rate this answer.
YVS RAO
Answered On : Aug 5th, 2005
Java Beans and EJBs are used for different purposes altogether, though both specifications are provided by Sun micro Systems. Java Beans are mainly meant for building extendable components and typically contain getters and setters for all its data members, along with other required functionality. EJBs are server side programs that typically implement middle layer business functionality, providing 3 - layer architecture for applications. EJBs can be Entity,Session or Message depending on the required functionality. Most of the critical services are provided by EJB containers and thus allowing the programmmer to concentrate on the business logic on hand.

2 Users have rated as useful.
Login to rate this answer.
jayakrishnan-a
Answered On : Sep 23rd, 2005
java bean is a client side programme.it will be having a interface.But ejb is server side it may or may not be interface.
Login to rate this answer.
SRIRAM.N.SHARMA
Answered On : Sep 29th, 2005
To put it in simple terms...
Javabean is a reusable component. Common type of GUI components like Swing button can be quoted as an example.
EJB is also reusable component. But the difference is that the bean part of javabean is used mostly at developement time whereas bean part of EJB starts off at runtime. Regular Javabean runs in a JVM while the EJB bean runs under the control of EJB container(Server).

1 User has rated as useful.
Login to rate this answer.
n clients can access on ly ejb but not java beans,java beans do not follow the archi of n tier archichtere
Login to rate this answer.
Jane
Answered On : Oct 21st, 2005
Just some notes from a book I read:
JavaBean define a model for creating general-purpose components that are typically used on the client side. Those components may or may not contain a user interface.
EJBs define a server-side component fro creating highly specialized business logic components. EJB components don't have GUI.

1 User has rated as useful.
Login to rate this answer.
Guest
Answered On : Dec 14th, 2005
JavaBeans- are reuseable,non-deployable components. They can't exist independently.EJB - are deployable, reuesable, server side components. They can exist independently or in integration with other components.

2 Users have rated as useful.
Login to rate this answer.
JavaBean :
1. Low-level approach for developing re-usable components for building different Java applications (Applets, stand-alone applications etc.).
2. Java Beans runs in a JVM, just like other normal java class
EJB :
1. High-level approach to build Distributed java applications & its an Re-usable server-side component
2. EJB runs under the control of EJB Container
Thanks.
Login to rate this answer.