-
1. Re: JBoss POJO Cache 1.4.1.GA in Maven?
brian.stansberry Sep 21, 2007 6:04 PM (in response to pmuir)http://repository.jboss.org/maven2/jboss/jboss-cache/1.4.1.GA/
PojoCache is not a separate distribution in 1.x. -
2. Re: JBoss POJO Cache 1.4.1.GA in Maven?
pmuir Sep 22, 2007 6:59 AM (in response to pmuir)So, in Seam, we are currently using a jar called jboss-cache-jdk50.jar which has 1.4.1.GA as its manifest. I mistakenly assumed this was pojo cache. Is this the same jar as is in maven at jboss/jboss-cache/1.4.1.GA? If not, will we be safe substituting one for the other?
-
3. Re: JBoss POJO Cache 1.4.1.GA in Maven?
brian.stansberry Sep 22, 2007 10:15 AM (in response to pmuir)It's the same jar. And it is "pojo cache". The PojoCache project started out as a subproject of the core JBoss Cache project. Only in 2.0 did it start producing a separate binary from core JBoss Cache.
-
4. Re: JBoss POJO Cache 1.4.1.GA in Maven?
pmuir Sep 22, 2007 11:39 AM (in response to pmuir)Thanks for the help Brian :)
-
5. Re: JBoss POJO Cache 1.4.1.GA in Maven?
brian.stansberry Sep 22, 2007 5:20 PM (in response to pmuir)My pleasure. :) I'm curious how you guys are using the pojo cache feature set (as opposed to core cache)?
-
6. Re: JBoss POJO Cache 1.4.1.GA in Maven?
pmuir Sep 24, 2007 6:35 AM (in response to pmuir)We simply provide a manager component
http://fisheye.jboss.org/browse/JBoss/jboss-seam/src/main/org/jboss/seam/core/PojoCache.java?r=1.11
which allows a PojoCache to be injected into a Seam component.
We also consume this to allow for caching of html fragments through a JSF component.
I guess Gavin chose PojoCache rather than core cache as (AFAICS) it is "easier" to use (but I've never really used this bit of Seam ;) ). -
7. Re: JBoss POJO Cache 1.4.1.GA in Maven?
jason.greene Sep 24, 2007 4:25 PM (in response to pmuir)POJO Cache will allow you to cache an object model, but that model must be either instrumented with jboss aop, or serializable. Core cache provides a normal java collections style API, so it is geared for storing simple Java types.
So, it is most likely that the HTML caching example is better off in core cache.