Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

POJO JAVA BEAN

Thu Oct 23, 2008 12:59 am

CAn any one please explain about POJO specificationand JAva bean
specification.What is th difference between them



Re: POJO JAVA BEAN

Thu Oct 23, 2008 1:00 am

1)POJO is an acronym for Plain Old Java Object, and is favoured by advocates
of the idea that the simpler the design, the better. The name is used to
emphasize that the object in question is an ordinary Java Object, not a special
object, and in particular not an Enterprise JavaBean (especially before EJB 3).
The term was coined by Martin Fowler, Rebecca Parsons and Josh MacKenzie in
September 2000.

2)A JavaBean is a POJO that is serializable, has a no-argument constructor,
and allows access to properties using getter and setter methods. An Enterprise
JavaBean is not a single class but an entire component model (again, EJB 3
reduces the complexity of Enterprise JavaBeans).

Post a reply
  Related Posts  to : POJO JAVA BEAN
 EJB session bean     -  
 EJB 3.0 Stateful Session Bean Example     -  
 2d game in java-Monster-Java 2D Game Graphics and Animation     -  
 need help in java     -  
 What is Java API?!!!     -  
 java or .net     -  
 Using FTP in java     -  
 what is java     -  
 Java course     -  
 Draw An Arc in java     -