Content deleted Content added
m +ja |
|||
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]].
==
The
* The class should be [[Serialization#Java|serializable]] (able to persistently save and restore its state)
* It should have
* Its properties should be accessed using get and set methods that follow a standard naming convention
* It should contain
Because these requirements are largely expressed as conventions rather than by implementing [[interface (computer science)|interfaces]], some developers view Java Beans as [[Plain Old Java Objects]] that follow certain naming conventions. However, this view is misleading for Java Beans that support event handling, because the method conventions and associated support classes for event handling are fairly intricate, and require the use of specific base classes and interfaces.
== See also ==
|