JavaBeans: Difference between revisions

Content deleted Content added
Dmuth (talk | contribs)
JavaBean Example: Fixed datatype on getAge(), added no-argument constructor
m fmt, w
Line 1:
Java Beans'''JavaBeans''' are [[software component]]s written in the [[Java programming language]].
 
The JavaBeans specification by [[Sun Microsystems]] defines them as "reusable software components that can be manipulated visually in a builder tool".
Line 5:
In spite of many similarities, JavaBeans should not be confused with [[Enterprise JavaBeans]] (EJB), a server-side component technology that is part of [[J2EE]].
 
== Java BeanJavaBean conventions ==
In order to function as a JavaJavaBean Bean[[Class (computer science)|class]], an object class must obey certain conventions about method naming, construction, and behavior. These conventions make it possible to have tools that can use, reuse, replace, and connect Java BeansJavaBeans.
 
The required conventions are:
Line 39:
== See also ==
* [[Widget (computing)|Widgets]]
* For a server side discussion of Java Beans see [[Enterprise Java BeansJavaBeans]].
 
==External links==