What are JavaBeans?


They are simply Java classes that follow certain design conventions, and can be easily reused and composed together into an application.

The design conventions which make a Java class a JavaBean are:-
1. JavaBeans have internal properties. These properties must be accessed and set via standard getXXX() and setXXX() methods only.
2. JavaBeans must have a zero-argument(empty) contructor

It is worth while to go through this document to understand the elementary aspects of a JavaBean.

Advertisements

About vatsalad

Hi, I'm Vatsala
This entry was posted in j2ee, Uncategorized and tagged , , . Bookmark the permalink.

One Response to What are JavaBeans?

  1. shailendra says:

    Hey…thanks, gr8 work..to the point…

Comments are closed.