• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between JavaBeans and EJB  RSS feed

 
kapil apshankar
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Could anyone plz tell me the difference between JavaBeans and EJB?
If they are not the same, will learning one ensure the knowledge of the other?
Are there any good books on the subject?
Thanks and regards,
Kapil
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The original JavaBeans are completely different from EJB.
They are more intended towards GUI components whereas EJBs
are intended for the server side of applications. You can
learn about JavaBeans at http://java.sun.com/tutorial. There
is also information about EJB on that site plus many people
like the EJB book on O'Reilly by Haefel. Hope this helps.
 
Venkat Ammisetty
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
The diff. between JavaBeans and EJB are
(1)JavaBeans are not distributed but EJB's are distributed.
(2)EJB's are basically for bussiness logic where as JavaBeans are for GUI as JIM told(Most of the casses).
First diff. is more powerfull
I hope this clue will help
Bye
Venkat
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!