File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes java Beans & EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java Beans & EJB" Watch "java Beans & EJB" New topic

java Beans & EJB

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 614
What is the difference between the java beans & the EJbs?
thanks in advance...
Irene Loos
Ranch Hand

Joined: Apr 15, 2002
Posts: 78
According to O'Reilly "Enterprise JavaBeans":
The EJBs is a server-side component that encapsulates the business logic of an application. The business logic is the code that fulfills the purpose of the application.
The JavaBeans is a component model, but it is not server-side like EJB. The JavaBeans are not intended for distributed components. They are primarely used to build clients by assembling visual (GUI) and nonvisual widgets (push button, spreadsheet could be JavaBeans).
EJBs are designed to address issues involved with managing distributed business objects in a three-tier architecture. The perfect candidate for EJB will be Customer business object than can be deployed in any EJB server and used to develop any business application that needs a customer business object.
I hope this will help.

Irene Loos
I agree. Here's the link:
subject: java Beans & EJB
It's not a secret anymore!