From: "Peter Donald" <[EMAIL PROTECTED]> > Sou you end up with something like following in torque > > MyData (The Biz Object) > MyDataVO (The Value Object) > MyDataPeer (The Peer) > AbstractMyData (the abstract biz object) > AbstractMyDataPeer (The abstract Peer) > > And the only one decoupled from the persistence framework is MyDataVO. In an > ideal situation you would just have a single object "MyData" that is free > from persistence framework and is nice and simple. (and basically a clone of > MyDataVO). The rest of the stuff could be dynamically configured at runtime - > including the mapping to physical datasource. > > Any system that did that and did not have all the rest of the cruft would be a > sure winner IMHO.
Agreed. I've wondered a few times if maybe Torque could be patched so that in addition it could work with DyanBeans as an alternative to code generation. Then at runtime Torque could just work given some regular beans (MyData) or even just figure out its own DynaBeans based on the database schema. http://nagoya.apache.org/gump/javadoc/jakarta-commons/beanutils/dist/docs/ap i/index.html James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
