Difference between Java Beans and EJB
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhijit_Chakrabarti
Posted On:   Wednesday, March 21, 2001 08:55 AM

What is the major difference between Java Beans and Enterprise Java Beans

Re: Difference between Java Beans and EJB

Posted By:   Shaun_Childers  
Posted On:   Wednesday, March 21, 2001 09:30 AM

Really, the name is the only thing these two have in common. A JavaBean is primarily used to be a plug-n-play-type addition to some component, for instance a spreadsheet-like JaveBean that you can just plug in to your GUI. Toolbars on IDE's are good examples of JavaBeans.
EJB's are server-side components which handle accessing DB's. EJB's are deployed/managed within an EJB container and accessed through an EJB server. The EJB server/container handle transactions, security, pooling, etc.
About | Sitemap | Contact