Re: T5 and Redis

2012-06-01 Thread Howard Lewis Ship
I don't know the Redis/Jedis API, but you probably want to close the connection you open explicitly. See http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/PerthreadManager.html#addThreadCleanupListener(org.apache.tapestry5.ioc.services.ThreadCleanupListener) I would te

Re: T5 and Redis

2012-05-31 Thread Angelo C.
Jedis has a pool, maybe it can be implemented as Hibernate. Is there anybody using Redis with T5 and how? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546p5713552.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: T5 and Redis

2012-05-31 Thread Lance Java
You could follow the same pattern as used for a hibernate session. See this recent thread for how it's done http://tapestry.1045711.n5.nabble.com/About-per-thread-service-td5713515.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546p5713548.html Sent