On 25-05-2009 at 15:13, Laurent Perez wrote: > Hi > > I'm trying to figure out an error "randomly" repeating itself on a > production system, which I can't reproduce locally. Stripes version is > 1.5. > > I believe this may be linked to concurrency issues, however, I'm not > sure if this could happen : are ActionBean expected to be thread-safe > ? By thread-safe, I mean can I run into unexpected problems whenever > two different browsers hit the same method of an ActionBean ? Is the > ActionBeanContext safe, too ?
I'm not certain about the ActionBeanContext, but ActionBean instances are created per request and hence are thread-safe to the moment. There is not specific design for this though, so if I have any choice at all I'd design my ActionBean classes to be thread-safe. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Trying to child-proof the world makes us neglect the more important =/ () task of world-proofing the child. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
