JavaBeans: Difference between revisions

Content deleted Content added
 
Fvdham (talk | contribs)
page created
Line 1:
'''Java Beans''' are software components written in the [[Java programming language]].
#REDIRECT[[Enterprise Java Beans]]
 
=== Naming conventions ===
The [[source code]] of a Java Bean is subject to certain naming conventions. These naming conventions make it easier for beans to be reused, replaced and connected.
 
The naming conventions are:
* every java bean class should implement java.io.Serializable interface;
* it should have the 0 argument constructor;
* its properties should be accessed using get,set methods;
* it should contain the required event handling methods.
 
=== See also ===
* [[Widget (computing)|widgets]];
* For a server side discussion of Java Beans see [[Enterprise Java Beans]].
 
[[Category: Java platform]]