terracotta

Ehcache eternal cache forget items

Env: Spring 2.5.6, Hibernate 3.3.2, Ehcache 2.0.1, terracotta 3.2.1 I have a cache on an abstract class (with 5 inheritors) <cache name="com.f4.owl.domain.good.GoodType" maxElementsInMemory="15000" eternal="false" timeToIdleSeconds="0" timeToLiveSeconds="0" overflowToDisk="false"> <terracotta/> </...

JPA2.0 support of custom user-types and second level cache

Hi, I'm trying to decide whether to switch from having Hibernate sprinkled all over to using JPA2.0 and thus be provider portable. 1.Does JPA2.0 support custom user-types? 2.I'm on the verge of implementing Terracotta as a second-level cache to Hibernate with its clustering abilities mainly in mind. I would imagine, but I don't actually ...

Is Terracotta used professionally?

Today at work I had a discussion with my co-workers and my boss about stateless/stateful beans (we just finished a project using JSF, it was the first time anyone at this company did something JSF related) and my boss said that he doesn't really like Session scoped beans (or even conversation/KeepAlive scoped ones). One of his arguments ...

load balancing issue

How to use load balancing with terracotta in Java application. ...

Why is EhCacheProvider deprecated?

I am configuring my hibernate project to use a 2nd-level cache provider, so that I can take advantage of query caching. I added a dependency to ehcache: <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId> <version>2.2.0</version> </dependency> I think that the provider class I want t...

DWR + terracotta+ jetty working together

Hi, I have project where we use DWR for comet, and Jetty because of continuations feature. My problem is, that we also use terracotta for clustering. And terracotta supports only Jetty 6.x but not Jetty 7, and DWR is best with Jetty 7 continuations. When I run terracotta with Jetty 7 it throws java.lang.IllegalStateException: This clas...