jboss-cache

Configure JBOss cache to run on JBoss server 4.2.3.GA

五迷三道 提交于 2020-01-11 10:08:11
问题 Our commercial application used to run on different application server and letely we started adjust it to run on JBoss server. The problem is that that application runs JBoss cache and as part of the integration with this framework, the web-inf\lib contains the follwing jars: jboss-aop.jar, jbosscache-core.jar, jboss-common.jar, jboss-common-core.jar, jboss-j2ee.jar, jboss-jmx.jar, jboss-logging-spi.jar This causes a problem to use JNDI through the application because the jboss-common-core

Migrating Infinispan xml configuration from 6.x to 7.x

爷,独闯天下 提交于 2019-12-25 01:37:49
问题 I've been using Infinispan 6.x and I have a couple of XML configuration files. Now I want to migrate to 7.x, but I'm having exceptions when the new version tries to parse the old configuration files. Here is my configuration file: <?xml version="1.0" encoding="UTF-8"?> <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd"> <global> <globalJmxStatistics enabled="false"

Performance of JBoss Cache and Ehcache

☆樱花仙子☆ 提交于 2019-12-22 04:00:16
问题 I'm considering to use to implement a cache either JBoss Cache or Ehcache. After looking at both APIs I has the intuition that JBoss is probably a little bit more memory efficient than Ehcache since it can put raw objects into the cache while Ehcache needs to wrap the data in a Element object. I set up a quick bench inserting repeatedly key, value tuples in the cache. The key and values classes are very simple: Key: public class Key implements Serializable { private static final long

Spring configuration for JBossCache

限于喜欢 提交于 2019-12-11 02:52:12
问题 I'm trying to configure an instance of JBossCache using a Spring config file (for eventual use in Tomcat). I don't see any examples online and trying to figure out the mapping between the sample JBoss Microcontainer format and Spring IoC. Does anyone have any example Spring configs for JBoss Cache? 回答1: One of the very appealing aspects of JBossCache (v3, at any rate) is that the API consists mainly of JavaBean-compliant classes. This makes them very easy to wire up in Spring. The JBoss

Infinispan: How to combine embedded cache and standalone server in one cluster?

妖精的绣舞 提交于 2019-12-10 11:07:23
问题 As a proof of concept, I try to build an infinispan cluster with an existing application which starts an embedded cache and one or more standalone infinispan servers. The reasosing behind this is, that I want to show, that there is a way of zero-configuration automatic creation of a cluster by simply starting freshly downloaded infinispan standalone servers. So my application runs an embedded cache which will be automatically "joined" by new nodes. I'm using the very default configuration for

Infinispan: How to combine embedded cache and standalone server in one cluster?

微笑、不失礼 提交于 2019-12-06 09:20:57
As a proof of concept, I try to build an infinispan cluster with an existing application which starts an embedded cache and one or more standalone infinispan servers. The reasosing behind this is, that I want to show, that there is a way of zero-configuration automatic creation of a cluster by simply starting freshly downloaded infinispan standalone servers. So my application runs an embedded cache which will be automatically "joined" by new nodes. I'm using the very default configuration for infinispan and jgroups (see below). The effect is, that two or more of my applications with embedded

Concurrency strategy configuration for JBoss TreeCache as 2nd level Hibernate cache

狂风中的少年 提交于 2019-12-06 06:20:30
问题 I am using JBoss EAP 4.3. I'm currently looking into the different options for concurrency strategy when using the built-in JBoss TreeCache as a second level cache for Hibernate. I have set it up and I have verified that the cache is working by looking into the logs, but I am not sure what concurrency strategy is really used and how it is intended to work. For each Entity, I can set one of the following "usage" values in the @Cache annotation: NONE , READ_ONLY , NONSTRICT_READ_WRITE , READ

Performance of JBoss Cache and Ehcache

亡梦爱人 提交于 2019-12-05 03:18:50
I'm considering to use to implement a cache either JBoss Cache or Ehcache. After looking at both APIs I has the intuition that JBoss is probably a little bit more memory efficient than Ehcache since it can put raw objects into the cache while Ehcache needs to wrap the data in a Element object. I set up a quick bench inserting repeatedly key, value tuples in the cache. The key and values classes are very simple: Key: public class Key implements Serializable { private static final long serialVersionUID = -2124973847139523943L; private final int key; public Key(int pValue) { this.key = pValue; }

Configure JBOss cache to run on JBoss server 4.2.3.GA

≯℡__Kan透↙ 提交于 2019-12-01 22:02:41
Our commercial application used to run on different application server and letely we started adjust it to run on JBoss server. The problem is that that application runs JBoss cache and as part of the integration with this framework, the web-inf\lib contains the follwing jars: jboss-aop.jar, jbosscache-core.jar, jboss-common.jar, jboss-common-core.jar, jboss-j2ee.jar, jboss-jmx.jar, jboss-logging-spi.jar This causes a problem to use JNDI through the application because the jboss-common-core.jar contain naming package that cause JBoss JNDI to work incorrect. So I need to find a way to organise