Personally I just use DataContext.getThreadDataContext() but I am
interested in what others do.
This is maybe a good one for the Tapestry lists.
Andrus Adamchik wrote:
I am reworking Cayenne tutorials for 1.2 final release. Since I
haven't used Tapestry for almost a year, and totally missed on 4.0, I
wanted to get some feedback from Cayenne/Tapestry users. What are the
good ways to bind DataContext to a session?
Current example puts it in the visit. I would personally use a regular
web app setup with Cayenne filter (making Tapestry app just another
web app case as far as Cayenne is concerned). I wonder what others are
doing in this respect? Any HiveMind magic?
Andrus