Re: accessing cayenne sessions

From: Mike Kienenberger (mkienen..mail.com)
Date: Tue Apr 04 2006 - 10:25:52 EDT

  • Next message: Andrus Adamchik: "Re: [solved] Re: Cayenne.xml not found."

    On 4/4/06, Cyp her <cypher6..otmail.com> wrote:
    > * Are there any convenient methods for accessing the Session like in
    > WebObjects where there is a session class in the application?

    In servlets, there's an HttpSession object that you can pull out of
    the HttpServletRequest. Instead of being a subclassable object, it
    instead holds references to a Map (think NSDictionary) where you can
    store objects the entire session. How you get a reference to your
    HttpSession object depends on the framework.

    http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html



    This archive was generated by hypermail 2.0.0 : Tue Apr 04 2006 - 10:26:16 EDT