cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Menard <>
Subject Re: Basic ROP questions
Date Fri, 14 Sep 2007 20:16:29 GMT
Answering my first question . . . That's a definite no.  The parent class
implementations are quite different.  So, I may just have to break down and
create utility classes that accept DOs as arguments.  A bit of pain, but
it'll reduce the code duplication.


On 9/14/07 1:09 PM, "Kevin Menard" <> wrote:

> I'm just getting started on a ROP project using Cayenne 3.0.  In my server
> classes, I had a large amount of utility methods attached to my DOs.
> Clearly, there's a fair amount of overlap between the server classes and the
> client classes.
> A couple brief questions then follow:
> 1) Will modifying the Velocity template to subclass the servers classes help
> reduce the code duplication?  Will this even work?
> 2) Will packaging either the server or the client classes into distributable
> JARs gain me anything?
> I'll try these out on my own anyway, but before I got too bogged down with
> that, I just wanted to see what's doable and what's not.  I haven't looked
> into the finer details of relationships between the server and client
> classes.
> Thanks,
> Kevin


View raw message