Andrus,
My point was not so much to generate examples or pointers to examples
but more to talk about the way people are using Cayenne and some
thoughts about the relative advantages of each design pattern.
Tony
On 6/8/15 10:52 AM, Andrus Adamchik wrote:
Here is a very simple example of DAO-like service oriented architecture with
Cayenne:
https://github.com/andrus/wowodc13
Andrus
On Jun 8, 2015, at 4:57 PM, Mike Kienenberger <mkien...@gmail.com> wrote:
I tend to use a DAO pattern in projects where I want all cayenne
references isolated to a specific package. I use the template
generator to create 90%of the code and keep it up to date
On Mon, Jun 8, 2015 at 9:48 AM, Gmail <tgiacc...@gmail.com> wrote:
I'm wondering how people on this mailing BG list structure their Cayenne
projects. The two most common design patterns I have seen are DAO style where
the code that implements access is in its own class and Active record style
where the Domain object implements the data access layer.
Are most folks here using one of these two patterns or something else all
together?
Tony Giaccone