dcsimg
Difference between java bean and EJB
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   A_JP
Posted On:   Tuesday, May 22, 2001 03:53 AM

Hi !
What is the exact difference between java bean and EJB. Which is related to COM in microsoft.

Thanks
AJP

Re: Difference between java bean and EJB

Posted By:   Ivo_Limmen  
Posted On:   Tuesday, May 22, 2001 04:11 AM

A Java bean is a class that is made using a standard. All variables are private and each variable has a getter and a setter. An Enterprise Java Bean is a bean written for a Enterprise Application Server. It uses RMI-IIOP for communication between the client and the server. It is a completly differend ball-park. This is the difference between Standard Edition and Enterprise Edition.
You can compare it to a COM object and a DCOM object. A EJB can do much more than a DCOM object. I do think DCOM and EJB are very similar (techiques) on differend platforms (Java vs Windows).
About | Sitemap | Contact