Vincent,
I'm not quite sure I understand you question. Things like fetching artists,
saving paintings, etc. seem like well defined actions to me. Just curious
where else would you suggest putting this code?
FWIW, the tutorials are meant to be simple examples to get a cayenne
environment running with a couple of different presentation tier frameworks
(tapestry and struts). They where thrown together very quickly and probably
shouldn't be used as the basis for any design decision you have to make for
your projects.
Cheers,
Eric
> -----Original Message-----
> From: Vincent Stoessel [mailto:vincen..aymaca.com]
> Sent: Wednesday, February 05, 2003 12:50 PM
> To: cayenne-use..bjectstyle.org
> Subject: Struts usage
>
>
> Now that things are working, I am starting to go through the
> docs... Quck question. I noticed that in the jsp/struts example
> cayenne was used in the Action classes. I though the idea was just to
> have the action class simply access the model classes, and within the
> model classes would be where the cayenne/sql stuff would happen.
> Thanks.
> --
> Vincent Stoessel
> Linux Systems Developer
> vincent xaymaca.com
>
**********************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************
This archive was generated by hypermail 2.0.0 : Wed Feb 05 2003 - 13:08:08 EST