cayenne.datacontext - session attribute- question

From: Devyandu (devyand..mail.com)
Date: Sat May 23 2009 - 11:32:56 EDT

  • Next message: Michael Gentry: "Re: cayenne.datacontext - session attribute- question"

    Hi,
    I am using cayenne 2.04 with tomcat 5.5.
    Recently I started using a software called lambda probe, which is a tomcat
    analysis tool.

    I see that all my user sessions have an attribute called cayenne.datacontext,
    which has object of size (between 700K and 1MB) and type
    org.apache.cayenne.access.DataContext.

    This seems to be something that Cayenne creates and manages because I do not
    create this session attribute.

    1. Is this normal?
    2. Is this scalable?
    3. Will it create problems if I have hundreds of sessions ?
    4. In my struts actions/jsp, I get the context like this - DataContext
    context = DataContext.getThreadDataContext();. Is this OK?

    Thanks,
    Devyandu



    This archive was generated by hypermail 2.0.0 : Sat May 23 2009 - 11:33:32 EDT