ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From friendVU admin <maill...@friendvu.com>
Subject Re: iBATIS vs jakarta-beans
Date Mon, 21 Feb 2005 10:00:32 GMT
Most people still write get/sets for domain model and form model.

If you want dynamic, you can use this at form model:
  
http://jakarta.apache.org/commons/beanutils/apidocs/org/apache/commons/beanutils/LazyDynaMap.html

(this avoids mainntining get/sets at form model)
or
return a HashMap (ArrayList of HashMaps) from iBatis for a dyanmic 
domain model. (this avoids maintaing gets/sets at domain/model)

.V

Takacs Otto wrote:

> I have a problem I have to use dynamic object (dynamic - DynaBean in 
> Jakarta beans) but as I see only Java Beans and other "standard" 
> objects are supported.
>


Mime
View raw message