JavaBeans are nothing but java classes with certain standards.
1. you should have public no-args constructor 2. have getter and setter methods 3. after stripping the get and replacing the first character of whats left to lower case is your property name. 4. property names should be derived from methods and not from members of the class. 5. return type of getter and argument of setter should match.
These are some of the rules you should adhere to when you write a java bean.