JavaBean is a convention that defines some simple rules to allow data to be stored and trasfered easily.
A class is a JavaBean if abides to that contract:
Here's an example:
public class SimpleJavaBean implements Serializable { private final static long serialVersionUID = 1L; int value; public int getValue() { return this.value; } public void setValue(int value) { this.value = value; } }
Copyright © 2013 Welcome to the website of Davis Fiore. All Rights Reserved.