• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Re: Java Bean

 
Joe Cheung
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
What is the major differnece between Java Bean and ordinary java class? Also, what is the difference between Enterprise Java Bean and Java Bean?
Regards,
Joe
 
Ashok C. Mohan
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaBean are classes which obey the contractwhich says, it should have a no argument public constructor, getter and setter methods should be there for private members etc.
You can download entire JavaBean specification from
Java Bean Specifications
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic