Tuesday, 15 March 2011

Bean considerations

Wrong, a Java bean has a constructor with no arguments !!!!
public class PersonBean implements java.io.Serializable {
private String name;
private boolean deceased;
/** No-arg constructor (takes no arguments). */
public PersonBean() {

Question: Do we have to modify the code for a longer one for the sake of standards? Couldn't we use a "Hybrid bean"? a hybrid bean ...