Java Bean

Java Bean ou POJO : Plain Old Java Object

A JavaBean is a specially constructed Java class written in the Java and coded according to the JavaBeans API specifications.

Following are the unique characteristics that distinguish a JavaBean from other Java classes:

    It provides a default, no-argument constructor.

    It should be serializable and implement the Serializable interface.

    It may have a number of properties which can be read or written.

    It may have a number of "getter" and "setter" methods for the properties.
  • ouvert_a_tous/java/notions_generales.txt
  • Dernière modification : 2022/12/03 07:45
  • de 127.0.0.1