RE: T5: Preparing a pristine object for re-use

2007-11-07 Thread Andy Huhn
Bless you, Kris! This is exactly what I needed! I've been reading the mailing list religiously, and trying to dig through the documentation. I saw the discussion you referenced, but a lot of it went over my head. Thanks very much! Andy On Wed, 2007-11-07 at 09:05 +0100, Kristian Marinkovic wro

RE: T5: Preparing a pristine object for re-use

2007-11-07 Thread Kristian Marinkovic
the default scope of a service is "singleton". i you want a new DAO on every request you can annotate you method with : @Scope(IOCConstants.PERTHREAD_SCOPE) if you are using tapestry-hibernate you can have your session injected into a "singleton" scoped service and tapestry will take care of