Get Firefox   [ - JYOTIRMAYA.COM - ] Get the Source
 ::  Home ::  Blog :: Full database
Blog details     3/2/2004  
  MARCH 2004  

smtwtfs
1456
7910111213
141516171920
21222324252627
28293031

current month

UTILITIES 
 Print Page
 Increase font size
 Decrease font size
 Reset Font Size



uapplication.com
BASIC JAVA BEAN  by Jyotirmaya 3/2/2004 at 19:46
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.

Java Bean = 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
1. Contains no argument Constructor
2. Follows naming convention for properties and accessor methods
3. 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 JavaBeans). JavaBeans are components accessed within the context of a single process that exists in a single address space.


Image Describing the Java Bean
   

  Email:

[ - © Jyotirmaya Nanda, 2003 - ]