Style 1 seems more in line with SDO practice. There is already a
DataFactory helper that allows the creation of instances:
class commonj.sdo.helper.DataFactory {
DataObject create(Class interfaceClass);
}
and with suitable metadata it could easily return an enhanced POJO or
some subclass that
Jeremy,
I think this should work, but you need to register the statically
generated model by calling SDOUtil.registerStaticTypes().
You need to first generate the classes (if you already have SDO 1
generated classes, it may also work, but I'd recommend regening with the
SDO 2 generator).
Frank Budinsky wrote:
Ultimately though it would be good if people could use SDO2 without
needed to generate any code at all. Wouldn't it be possible to provide
implementations of user interfaces using Java Proxies (perhaps with
codegen using ASM or something to boost performance)?
Well, a
On Jan 18, 2006, at 3:14 PM, Jeremy Boynes wrote:
Frank Budinsky wrote:
Ultimately though it would be good if people could use SDO2 without
needed to generate any code at all. Wouldn't it be possible to
provide
implementations of user interfaces using Java Proxies (perhaps with
codegen