Questions tagged [jcs]

JCS is a distributed caching system written in java. It is intended to speed up applications by providing a means to manage cached data of various dynamic natures

JCS is a distributed caching system written in java. It is intended to speed up applications by providing a means to manage cached data of various dynamic natures. Like any caching system, JCS is most useful for high read, low put applications. Latency times drop sharply and bottlenecks move away from the database in an effectively cached system.

JCS

89 questions
0
votes
1 answer

JCS or java.util.Map, which is efficient in terms of time?

We are writing a test framework and we want to maintain a data structure for storing objects at suite level, objects vary from int to slf4j Logger. I am not clear as which data structure to use, which is more effective.
baig62
  • 169
  • 1
  • 7
0
votes
1 answer

JCS: How to access cache in two different applications running in same server

jcs: I have two applications running in Glassfish. How do I retrieve cache stored in one application to another application
Vijay
  • 21
  • 3
0
votes
1 answer

Getting all the key and values from JCS Cache

I'm using JCS cache. I want to retrieve all the keys and value from the specific region. JCS jcsInstance=JCS.getInstance("regionName"); How can I achieve it?
Vishvesh Phadnis
  • 2,448
  • 5
  • 19
  • 35
0
votes
1 answer

java caching - share a cache between multiple standalone java programs

Program1 writes to the cache and reads from it too. Program2 should be able to use the cache as read only. Both programs will be running on the same machine. Can I use Java Caching Service to accomplish this?
scott
  • 235
  • 4
  • 12
0
votes
0 answers

how can i query Java Caching System

i'm use Java Caching System(JCS) to save database in memory. is there a way to execute a query in this system? for example: Select name from Employee where sal>20000 thank you
user3492556
  • 47
  • 10
0
votes
2 answers

Getting lazy initialization exception using JCS Cache while retrieving one-to-many relation entities

We are using JCS Cache and successfully placed entities. When we retrieve the data from JCS Cache, we are able to retrieve the entitiy but not able to retrieve the related entities if it has one-to-many relationship entities. We are getting lazy…
Mani
  • 1
0
votes
1 answer

JCS failed to load properties

I am using JCS for Caching purposes. I have implemented this on my PC where it works fine but on our Tomcat server as well as on my colleagues PC the error Failed to load properties for name [/cache.ccf] appears. The jar file has been installed…
L. Young
  • 163
  • 3
  • 7
  • 24
0
votes
1 answer

Ehcache and Apache JCS - how this work?

I need Lru cache to store several (~100) huge object (~10MB for example). I read about Ehcache and JSC and have one question. I have the case: I store 10 object in ehcache. Then i get one from them and assign to reference. Whether data in my…
user1711160
  • 169
  • 1
  • 10
0
votes
1 answer

JCS - Dynamic update of cache from database

I maintain an application which leverage JCS to hold the cache in JVM (JVM1). This data will be loaded from a database for the first time when the JVM gets started/ restarted. However the database will be accessed from a different JVM (JVM2) and…
0
votes
1 answer

How to create JCS cache regions at runtime?

Can anybody tell me how to create a JCS cache region at run-time ?
dharshan
  • 733
  • 4
  • 11
  • 24
0
votes
0 answers

JCS Admin page: Links on JSPAdmin.jsp do not work out of the box

I have been working with JCS for a while now and I seem to have run into an issue with the JSPAdmin.jsp page that comes bundled with the jcs download from apache. The page helps us monitor the cache elements in the Remote Cache Server setup. The…
Keshi
  • 906
  • 10
  • 23
0
votes
1 answer

Apache Commons JCS 1.4-SNAPSHOT Maven Repository

Is there a maven repository for JCS 1.4-SNAPSHOT. I've searched the Apache repositories, but can't seem to find it. Also is JCS still under active development? The mailing lists seem to be down. Thanks.
Nick
  • 1,012
  • 2
  • 13
  • 29
0
votes
1 answer

how to do max-match search in JCS (java caching system)

I am developing an application which makes use of JCS. i do know how to retrive the data from the catch when searchkey is a complete string. I need to implement max-match search in JCS. For example : cache contains following data. book number |…
net user
  • 573
  • 2
  • 8
  • 21
-1
votes
1 answer

Java cache as database?

How are java cache libraries usable as database? My I use something like Ehcache or JCS instead of database? Is it true that Ehcache supports persistence strategy = localRestartable only for Enterprise Ehcache, i.e. paid version? Does it mean free…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
1 2 3 4 5
6