Re: [picocontainer-dev] RE: [picocontainer-scm] [5426] java/2.x/trunk/web/web-core/src/java/org/picocontainer/web: make stateless not hit session.setAttribute()

Paul Hammant <[email protected]> Thu, 11 Jun 2009 11:36:00 -0500
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Not so much cool Mike, but necessary for AppEngine deployment.

There's a bug that remains that's exposed by AppEngine.  Session  
components that dep on App Components that are serialized to the  
session at the end of a request, will also serialize the app  
instance.  This is not a bug for non session-serializing servlet  
containers (like Jetty/Tomcat standalone).

We're going to have to implement Guice's provider style injector  
(Provider Injection as opposed to Dependency Injection) as well as an  
(alternate) ASM mechanism to subvert the app scoped comps from being  
serialized (transient will suffice) as well reconstitute the app-comp  
connections on de-serialization.

Regards,

- Paul

On Jun 9, 2009, at 5:19 PM, Michael Rimov wrote:

> Woo hoo! :)
>
> Very cool Paul!
>                                                                                                                                                                 -Mike
>