Prepare Interview

Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Difference between JavaBeans and EJB

JavaBeans EJB
JavaBeans always behave as Local Object.
Java Bean as is a plain java class with member variables and getter setter methods.
Enterprise Java Beans can behave as a Remote Object.
EJBs are delpoyed on the EJB container and executes in the EJB container. EJB is not that simple, it is used for building distributed applications.
As it can be used as client as well server side programming, it is GUI/Non-GUI based.As it is middle-tier component it can be used only as Non-GUI based.
It can be converted as .ocx or ActiveX component.It cannot be convert as .ocx or ActiveX component.

Related differences

EJB 3.0 vs SpringEJB 1.0 vs EJB 2.0JavaBeans vs EJB
Is it helpful? Yes No

Get differences from below

©2023 WithoutBook