[jboss-dev-forums] [Design of JBossCache] - Re: Proxy Based POJOs (No AOP) in POJO Cache
bela@jboss.com
do-not-reply at jboss.com
Fri Oct 5 06:26:02 EDT 2007
"manik.surtani at jboss.com" wrote :
| I think having options is always valuable. The JavaBean standard is not a huge deal - I think people should follow this anyway.
Why ? I never liked the JavaBeans approach, where even internal methods need to call accessors, like
public int increment() {
int retval=getAge();
setAge(retval +1);
return retval
}
instead of
public int increment() {
return age++;
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091920#4091920
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091920
More information about the jboss-dev-forums
mailing list