Re: Deployment advice

From: Kevin Menard (kmenar..ervprise.com)
Date: Tue Jun 20 2006 - 08:54:29 EDT

  • Next message: Gentry, Michael \(Contractor\): "RE: modifying relationship list"

    You can create DataContexts whenever you like. I think the norm is to
    have one per session and then one per the whole application, but I've
    created ones in Tapestry listener methods with no problems. The only
    thing that may need to be considered is loading the configuration if
    you'll be doing it completely outside the servlet container.

    -- 
    Kevin
    

    On Tue, 20 Jun 2006 03:56:30 -0400, Fredrik Liden <flide..ranslate.com> wrote:

    > Hello, > > I have a Web App where Cayenne is deployed using one of the 3 Web > deployment options. I'm wondering if it is possible at the same time to > be able to get a cayenne context from a call that is not related to a > httpServlet request or a HttpSession. So in addition to using it in > Jsp's and Servlets, could I set it up so that it can also be called from > say Spring Scheduled tasks or DWR calls where the functionality is in > JavaBeans that don't have a httpRequest (or so I think) > > Thanks, > > Fredrik



    This archive was generated by hypermail 2.0.0 : Tue Jun 20 2006 - 08:54:59 EDT