Re: Difference between java bean and EJB
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).