Re: T5 and Redis

2012-06-01 Thread Howard Lewis Ship
, May 31, 2012 at 4:29 AM, Angelo C. wrote: > 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.htm

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

T5 and Redis

2012-05-30 Thread Angelo C.
edisServiceImpl() { this.jedis = new Jedis("localhost"); } public void add(String key, int count) { this.jedis.set("test", String.valueOf(count)); } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546.html Se