cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: toMany relationship not fetched
Date Thu, 13 Apr 2006 06:56:01 GMT

On Apr 13, 2006, at 10:41 AM, Marcin Skladaniec wrote:

> I have a question too. Is it important to use same entity classes  
> on client and server ?
> I would like not to import the client entity classes to server, but  
> generate them separately. I'm using superclass and custom  
> dotemplates what causes that whole client jar has to be added to  
> server.
> Aren't those classes treated as beans, so there is no real need to  
> have the same code on server and client ?

Unfortunately this is a limitation of 1.2 - you have to have client  
classes on the server. We'll get rid of this dependency in the  
future. Hessian serialization will require some tweaking and also  
server-side ClientServerChannel.


View raw message