-
1. Re: JBoss cache under SpringFramework
brian.stansberry Jan 26, 2007 3:46 PM (in response to edgenuity)What specifically do you mean? (I'm asking because we want to do what we can and I'd like to know what people want).
In 2.0.0 the configuration of a cache is done with a series of simple java beans and the instantiation of the cache is done via a factory, where the Configuration object is passed in to the factory method. If you have a look at the all/deploy/tc5-cluster.sar/META-INF/jboss-beans.xml in the AS 5 Beta1 download, you'll see an example of building up a Configuration object and using it to instantiate a cache. The IOC framework used there is the JBoss Microcontainer. I haven't tried it, but I don't see any reason why the same thing couldn't be accomplished with Spring. I want to do that and put an example up somewhere (wiki probably) but it will likely be a while before I get around to it. -
2. Re: JBoss cache under SpringFramework
edgenuity Jan 28, 2007 7:08 PM (in response to edgenuity)I do not know the specifics, but would be great to have JBoss Cache as one of the supported modules:
https://springmodules.dev.java.net/ -
3. Re: JBoss cache under SpringFramework
brian.stansberry Jan 28, 2007 8:58 PM (in response to edgenuity)Thanks for the link. :-) I added it as a reference to the container task for thinking about Spring integration for JBoss clustering: http://jira.jboss.com/jira/browse/JBCLUSTER-154.
-
4. Re: JBoss cache under SpringFramework
youngm Jan 29, 2007 12:07 PM (in response to edgenuity)I believe JBossCache is already a supported cache provide for springmodules.
Mike