What is difference in between Java Class and Bean ?
The Java Bean is simple java class which is contains Getters and Setters methods nothing else. These methods can only used to set or get the values of the variables. They neither contain any business logic nor do they interact with the database. Whereas a plain old java class contains the businees logic, provides some data processing capabilities, database interaction, etc.