[jira] Commented: (JCR-872) Cache framework integration

2008-05-07 Thread Samba Siva Rao Kolusu (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12594805#action_12594805
 ] 

Samba Siva Rao Kolusu commented on JCR-872:
---

Why not use JCS, Apache's own JCache implementation ? I  personally feel Apache 
Products are more reliable among the Open Source ones.

 Cache framework integration
 ---

 Key: JCR-872
 URL: https://issues.apache.org/jira/browse/JCR-872
 Project: Jackrabbit
  Issue Type: Task
  Components: jackrabbit-ocm
Reporter: Christophe Lombart
 Attachments: ocm_cache.zip


 OCM should work with a cache manager. 
 * The Spring frameworks offer a nice solution to integrate an application 
 with a cache manager (based on AOP). 
 * Which cache framework to use ? oscache, JCS, ...
 * A more detailled proposal is required

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-872) Cache framework integration

2008-01-16 Thread Ian Boston (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12559411#action_12559411
 ] 

Ian Boston commented on JCR-872:


Sorry to interrupt

Please don't bind to Hibernate, if you do, every other user if Hibernate will 
be forced to use the same version of Hibernate or not use Jackrabbit. We 
(Sakai) already cant use Alfresco for this reason.

The same goes for binding directly to any implementation that locks the jvm to 
a particular version of that jar. We have found the *if* you feel you need a 
3rd party caching lib, ehcache is Ok since the API exists, is relatively stable 
and doesn't require 1001 other jars. 

That being said, I thought that there were plenty of other cache mechanisms in 
Jackrabbit that did full management and expiry.

Just to give you an idea of the hibernate issues, it binds to specific aop and 
cglib versions so does spring

at the moment Jackrabbit is nice to work with because it doesnt cause any 
problems in this area.

All IMHO :)

 Cache framework integration
 ---

 Key: JCR-872
 URL: https://issues.apache.org/jira/browse/JCR-872
 Project: Jackrabbit
  Issue Type: Task
  Components: jackrabbit-ocm
Reporter: Christophe Lombart
 Attachments: observableCache.patch


 OCM should work with a cache manager. 
 * The Spring frameworks offer a nice solution to integrate an application 
 with a cache manager (based on AOP). 
 * Which cache framework to use ? oscache, JCS, ...
 * A more detailled proposal is required

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-872) Cache framework integration

2008-01-16 Thread Kris Kempa (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12559418#action_12559418
 ] 

Kris Kempa commented on JCR-872:


I fully agree with Ian:
+1 for Ehcache. 

http://ehcache.sourceforge.net.

 Cache framework integration
 ---

 Key: JCR-872
 URL: https://issues.apache.org/jira/browse/JCR-872
 Project: Jackrabbit
  Issue Type: Task
  Components: jackrabbit-ocm
Reporter: Christophe Lombart
 Attachments: observableCache.patch


 OCM should work with a cache manager. 
 * The Spring frameworks offer a nice solution to integrate an application 
 with a cache manager (based on AOP). 
 * Which cache framework to use ? oscache, JCS, ...
 * A more detailled proposal is required

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-872) Cache framework integration

2008-01-16 Thread Padraic Hannon (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12559597#action_12559597
 ] 

Padraic Hannon commented on JCR-872:


I'm working on ehcache now. 

I probably was confusing in my statement re. hibernate. I was looking at the 
hibernate Cache/CacheProvider pattern as starting point for how we might want 
to create a pluggable infrastructure. I *do not* want to rely on their 
infrastructure. However, since there stuff is easily configurable I thought it 
would be good to look at what they did as an example.

 Cache framework integration
 ---

 Key: JCR-872
 URL: https://issues.apache.org/jira/browse/JCR-872
 Project: Jackrabbit
  Issue Type: Task
  Components: jackrabbit-ocm
Reporter: Christophe Lombart
 Attachments: observableCache.patch


 OCM should work with a cache manager. 
 * The Spring frameworks offer a nice solution to integrate an application 
 with a cache manager (based on AOP). 
 * Which cache framework to use ? oscache, JCS, ...
 * A more detailled proposal is required

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-872) Cache framework integration

2008-01-16 Thread Padraic Hannon (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12559659#action_12559659
 ] 

Padraic Hannon commented on JCR-872:


Please disregard the patch I created. I messed up due to not taking the time to 
understand what was going on. I am working on revising it now.

 Cache framework integration
 ---

 Key: JCR-872
 URL: https://issues.apache.org/jira/browse/JCR-872
 Project: Jackrabbit
  Issue Type: Task
  Components: jackrabbit-ocm
Reporter: Christophe Lombart
 Attachments: observableCache.patch


 OCM should work with a cache manager. 
 * The Spring frameworks offer a nice solution to integrate an application 
 with a cache manager (based on AOP). 
 * Which cache framework to use ? oscache, JCS, ...
 * A more detailled proposal is required

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-872) Cache framework integration

2008-01-15 Thread Padraic Hannon (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12559243#action_12559243
 ] 

Padraic Hannon commented on JCR-872:


Until we have a robust cache framework we should remove the current 
implementation as it poses some problems the two that I've run into are:

1) Unbounded HashMap with no size limits
2) No observation mechanism to detect underlying changes to jcr nodes

 Cache framework integration
 ---

 Key: JCR-872
 URL: https://issues.apache.org/jira/browse/JCR-872
 Project: Jackrabbit
  Issue Type: Task
  Components: jackrabbit-ocm
Reporter: Christophe Lombart

 The PersistenceManager should work with a cache manager. 
 * The Spring frameworks offer a nice solution to integrate an application 
 with a cache manager (based on AOP). 
 * Which cache framework to use ? oscache, JCS, ...
 * A more detailled proposal is required

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.