Thanks for the answer. 

> I have developed an application for cross country skiing
> competitions, time keeping, handling skiers, result service
> and so on using Cayenne. 
> What I have discovered when it comes to UI I just stuck with
> the generated Entity class and added new getters/setters to
> fit my GUI whenever needed.
> Now in retrospect it looks somewhat ugly because my GUI
> layout now "pollutes" the Entity class. [...]
> It is not my proudest design, but then again I does the job

I can see that :-)

Actually, our current code is in a state that isn't THAT different, but we're 
getting more and more into maintenance and adapation to different frontends 
(currently: migrating the stuff from desktop app to webservice). Separation 
will soon be a necessity.

> For the GUI part, I'n not using Swing. I use Apache Pivot
> which I think works great with Cayenne.

Wow. Pivot looks like a very interesting framework.
I wish I had noticed its release; it covers most if not all hard problems I'm 
facing right now.

Regards,
Jo

Reply via email to