Hello,

I am using Hivemind to get a cayenne datacontext from a service
(CayenneService) in a tapestry application. The service is based on
the example of getting a cayenne datacontext from the wiki. This works
fine when using the service only to retrieve the datacontext, but now
i want to inject this service into other services. But the example
from the wiki is a Singleton Service Model.

What I want is that datacontext is dependend on a session. So the when
injecting the CayenneService in an other service for a certain session
the same datacontext is used.

Should I use a Threaded Service Model or a Pooled Service Model to realize this?

Regards,

Diego

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to