I am interested in finding out more information about OJB's support of the 
commons-beanutils package.  Is it possible to configure OJB to return 
instances of DynaBeans instead of instances of POJOs?  This would greatly 
reduce the amount of code required to support our persistence layer ... 
basically it would be reduced to ojb class descriptors for each object. 
The persistence broker operations getObjectByQuery for example would need 
to know what type of object I am searching for (so it can look up the 
appropriate class descriptor), but then it would return a DynaBean holding 
the marshalled object.  Is this possible?  It would remove nearly all of 
my redundant persistence layer code!

Thanks,
Phil

Reply via email to