1 December 2010

What is JavaBean ?

JavaBean is a normal Java class with  with set  of coding conventions rules to make  a  reusable software component.
  • Implements java.io.Serializable interface
  • Provides no argument constructor
  • Provides getter and setter methods for accessing it's properties
Examples.

Read more about JavaBeans on ... Wikipedia:
http://en.wikipedia.org/wiki/JavaBeans
amd official Java Tutorial:
http://docs.oracle.com/javase/tutorial/javabeans/index.html

Ps.
I have no idea why,but i had this quote in draft on this post and i have no idea why.
However for no reason.I will left here.(I forgot title of this book,so i need find it and update this post).
"Belive or not,socializing your beans doesn't involve sending them on blind dates with your single bean friends"

No comments:

Post a Comment