i want to know how to work on javabean as i am usinf netbeans5.5.i want to learn jabvabean. can anyone tell me about the javabean.what is the basic fundamental of java bean .why we are using.and were i can use. waht is the advantagehow it makes jsp program easy to maitain.it will be bettter if anyone can expalin me woth example
JAVA bean is just like a normal class.well this class contains getter and setter method with respect to attributes you specify in the class.suppose if you have declared any field/attribute as name then its corresponding getter/setter method would be and keep a note that first char of name must be in capital letter. getter / setter function.if you let it be small then during compile time an error will pop up.Most important thing i forgotten to told you is JAVA bean are used to hold data.