This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Re: Java Bean  RSS feed

 
Joe Cheung
Ranch Hand
Posts: 104
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!