This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Arun varma
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65893
135
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"subbarao N.V",

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

bear
JavaRanch Sheriff
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!