aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Difference b/w Simple Java Bean and Enterprise Java Bean(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 "Difference b/w Simple Java Bean and Enterprise Java Bean(EJB)" Watch "Difference b/w Simple Java Bean and Enterprise Java Bean(EJB)" New topic
Author

Difference b/w Simple Java Bean and Enterprise Java Bean(EJB)

Arun varma
Greenhorn

Joined: Mar 21, 2004
Posts: 9
Can any one tell me the difference between Java Bean and Enterprise Java Bean(EJB).And where Java Bean and Enterprise Java Bean(EJB) can be used.
subbarao N.V
Greenhorn

Joined: Aug 21, 2006
Posts: 13
HI

JavaBean and Ejb both are component technologies.Java Bean have set of properties(setters and gettters) and Ejb have set of propeties(implements the serializable interface,Support the Rmi Technology).



But Java Bean will work in client side and server side.Java bean can work as a standlone(AWT class) and work as a serverside application(Implement the business logic).



But Ejb's work in ServerSide only.These are Build for Business Logic purpose.We can configure these components in any Ejb container.The Ejb can be used by many no of clients like servlets,standlone,gui application.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61652
    
  67

"subbarao N.V",

Your account has been disabled. Should you wish to get it re-instated please contact me via email.

bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference b/w Simple Java Bean and Enterprise Java Bean(EJB)