[ Programming Trail >> Java Trail >> Java Beans]
JavaBean is a self sustained code block, much like an executable program you run. This means you can make any java code a Bean. People write a bean so that it can be reused. JavaBean is the standard architecture for building reusable components in Java.
JavaBean = Any Java Code you have written + "Certain Standards" that you follow so that it can be integrated with any third party Java code
Now the "Certain Standards" ensure that your bean is understood by any third party software.
Certain Standards
- Contains no argument Constructor
- Follows naming convention for properties and accessor methods
- Is persistent (serializable)
To run a Java Bean you do not need a special run time as Enterprise Java Beans (a totally different animal than Java Beans). Java Beans are components accessed within the context of a single process that exists in a single address space.
Contributors
Jyotirmaya Nanda (August 25, 2004)
I block the IP address(es) of users trying to vandalize my wiki. A simple mail to me can remove your IP from the blocked list. If you are new to wiki and want to try something out please do so at the Wiki Sand Box. Thank you !!.
|