I would like to know what is the best desing for an existing heavy swing application. This application need a database access (new) and I am using hibernate for that.
Basically, I am caching a bunch of files in memory.The problem is, if I get too many files cached into memory I can run out of memory.
I have an entity with a dataless primary key (@Id) and an attribute that is unique, but meaningful (stockTicker).Clients of this entity sometimes request results by the @Id criteria and sometimes by t
I have an interceptor in Spring, which autowires two different services. Both services have methods that are tagged with @Cacheable from the ehcache-spring-annotations project, but with different cach
My application is running on tomcat with Spring and Hibernate framework. It uses EHCache as a cache provider in service level. That means objects created by service classes are put into the cache. (No
I am trying to do a simple thing like store something in the cache and retrieve it next time if 开发者_开发百科it exists. For some reason everything works fine for the first time, when called the seco
I need a quick help from you to fix a small problem. In one of my project (using spring as core container), i am using ehcache to cache data. I am using spring ehcache annotations project (http://cod
The \"thundering herd\" problem occurs in a highly concurre开发者_运维问答nt environment (typically, many users). When many users make a request to the same piece of data at the same time, and there i
How to force reread db data (without evicting second level cache before reading) and then put it to cache.
I am using following configuration. I could like to see the cache file and see access the data from textpad/noteoad? is that possible? is there i can verify the data in Cache?