POJO X JAVABEANS
Hi there, What's the diference between POJO and JavaBeans ?Thanks
javabeans follow the getXXX() and setXXX() standard for accessor/mutator methods, POJOs aren't bound in this way. in reality, the difference is the spelling, since pretty much everyone uses getXXX() and setXXX() above any alternatives. it's just terminology really
When talking about JavaBeans it is assumed you mean a class that follows the JavaBeans spec:
http://java.sun.com/products/javabeans/docs/spec.html
A POJO is, as the previous poster mentioned, not bound by this. Note that the spec goes beyond the naming of accessor/mutator methods.
Good Luck
Lee
tsitha at 2007-7-13 23:15:55 >
