You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Marc Prud'hommeaux (JIRA)" <ji...@apache.org> on 2007/05/20 02:03:16 UTC

[jira] Created: (OPENJPA-242) JCache (JSR 107) support in the OpenJPA DataCache

JCache (JSR 107) support in the OpenJPA DataCache
-------------------------------------------------

                 Key: OPENJPA-242
                 URL: https://issues.apache.org/jira/browse/OPENJPA-242
             Project: OpenJPA
          Issue Type: New Feature
          Components: datacache
    Affects Versions: 0.9.7, 0.9.6, 0.9.0
            Reporter: Marc Prud'hommeaux
            Priority: Minor


JSR 107 (JCache: http://jcp.org/en/jsr/detail?id=107 ) support would enable OpenJPA to integrate its data cache with supporting products in a transparent way. This would allow us to support the popular EHCache 1.3 and other JSR 107 compliant caching layers.

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


Re: [jira] Created: (OPENJPA-242) JCache (JSR 107) support in the OpenJPA DataCache

Posted by Marc Prud'hommeaux <mp...@apache.org>.
Good question ... I hadn't realized that it had been dragging on so  
long.

EHCache seems to be implementing a preview version of the JSR (whose  
APIs are available at http://mirrors.ibiblio.org/pub/mirrors/maven2/ 
net/sf/jsr107cache/jsr107cache/1.0/ ). I don't know of anyone else  
implementing support for it yet, so on one hand, it is of dubious  
benefit to provide support for a preview API for which only a single  
implementation has support.

On the other hand, if we are to put in support for EHCache, perhaps  
we may as well do it via APIs which are expected to become standard  
and widely-implemented down the road.




On May 19, 2007, at 6:11 PM, Craig L Russell wrote:

> Hi Marc,
>
> Looks like this JSR started in 2001 and hasn't produced a milestone  
> yet.
>
> What's going on with it? Some politics?
>
> Would some expert advice from some users (e.g. OpenJPA) help any?
>
> Craig
>
> On May 19, 2007, at 5:03 PM, Marc Prud'hommeaux (JIRA) wrote:
>
>> JCache (JSR 107) support in the OpenJPA DataCache
>> -------------------------------------------------
>>
>>                  Key: OPENJPA-242
>>                  URL: https://issues.apache.org/jira/browse/ 
>> OPENJPA-242
>>              Project: OpenJPA
>>           Issue Type: New Feature
>>           Components: datacache
>>     Affects Versions: 0.9.7, 0.9.6, 0.9.0
>>             Reporter: Marc Prud'hommeaux
>>             Priority: Minor
>>
>>
>> JSR 107 (JCache: http://jcp.org/en/jsr/detail?id=107 ) support  
>> would enable OpenJPA to integrate its data cache with supporting  
>> products in a transparent way. This would allow us to support the  
>> popular EHCache 1.3 and other JSR 107 compliant caching layers.
>>
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>


Re: [jira] Created: (OPENJPA-242) JCache (JSR 107) support in the OpenJPA DataCache

Posted by Craig L Russell <Cr...@Sun.COM>.
Hi Marc,

Looks like this JSR started in 2001 and hasn't produced a milestone yet.

What's going on with it? Some politics?

Would some expert advice from some users (e.g. OpenJPA) help any?

Craig

On May 19, 2007, at 5:03 PM, Marc Prud'hommeaux (JIRA) wrote:

> JCache (JSR 107) support in the OpenJPA DataCache
> -------------------------------------------------
>
>                  Key: OPENJPA-242
>                  URL: https://issues.apache.org/jira/browse/ 
> OPENJPA-242
>              Project: OpenJPA
>           Issue Type: New Feature
>           Components: datacache
>     Affects Versions: 0.9.7, 0.9.6, 0.9.0
>             Reporter: Marc Prud'hommeaux
>             Priority: Minor
>
>
> JSR 107 (JCache: http://jcp.org/en/jsr/detail?id=107 ) support  
> would enable OpenJPA to integrate its data cache with supporting  
> products in a transparent way. This would allow us to support the  
> popular EHCache 1.3 and other JSR 107 compliant caching layers.
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


[jira] Commented: (OPENJPA-242) JCache (JSR 107) support in the OpenJPA DataCache

Posted by "Marc Prud'hommeaux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498746 ] 

Marc Prud'hommeaux commented on OPENJPA-242:
--------------------------------------------

I think that EHCache is the only one to support the JSR107 preview API. One one hand, that makes it seem silly to go out of our way to support the API, but on the other hand if the API provides all the needed functionality, we may as well provide support via what might someday be a common interface.

AFAIK, the only other common interface that caching products freqently support is java.lang.Map, which, for our purposes, might actually be sufficient for a simplistic integration.

> JCache (JSR 107) support in the OpenJPA DataCache
> -------------------------------------------------
>
>                 Key: OPENJPA-242
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-242
>             Project: OpenJPA
>          Issue Type: New Feature
>          Components: datacache
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7
>            Reporter: Marc Prud'hommeaux
>            Priority: Minor
>
> JSR 107 (JCache: http://jcp.org/en/jsr/detail?id=107 ) support would enable OpenJPA to integrate its data cache with supporting products in a transparent way. This would allow us to support the popular EHCache 1.3 and other JSR 107 compliant caching layers.

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


[jira] Commented: (OPENJPA-242) JCache (JSR 107) support in the OpenJPA DataCache

Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499202 ] 

Patrick Linskey commented on OPENJPA-242:
-----------------------------------------

With a small amount of work, we could abstract away the needs of QueryCache and DataCache such that you only needed to implement one interface to add support for a new cache. I prefer taking that approach, because the amount of work needed would then be pretty trivial, and that would benefit all configurations.

> JCache (JSR 107) support in the OpenJPA DataCache
> -------------------------------------------------
>
>                 Key: OPENJPA-242
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-242
>             Project: OpenJPA
>          Issue Type: New Feature
>          Components: datacache
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7
>            Reporter: Marc Prud'hommeaux
>            Priority: Minor
>
> JSR 107 (JCache: http://jcp.org/en/jsr/detail?id=107 ) support would enable OpenJPA to integrate its data cache with supporting products in a transparent way. This would allow us to support the popular EHCache 1.3 and other JSR 107 compliant caching layers.

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


[jira] Commented: (OPENJPA-242) JCache (JSR 107) support in the OpenJPA DataCache

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498741 ] 

Craig Russell commented on OPENJPA-242:
---------------------------------------

I'd like to see OpenJPA support a variety of caching implementations, but it's not clear that JSR 107 is the right approach. According to http://jcp.org/en/jsr/detail?id=107 the last activity on this JSR was in 2001. So there really isn't yet a "JSR 107 compliant" standard.

Is there any other product in addition to EHCache that supports a more common interface?

> JCache (JSR 107) support in the OpenJPA DataCache
> -------------------------------------------------
>
>                 Key: OPENJPA-242
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-242
>             Project: OpenJPA
>          Issue Type: New Feature
>          Components: datacache
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7
>            Reporter: Marc Prud'hommeaux
>            Priority: Minor
>
> JSR 107 (JCache: http://jcp.org/en/jsr/detail?id=107 ) support would enable OpenJPA to integrate its data cache with supporting products in a transparent way. This would allow us to support the popular EHCache 1.3 and other JSR 107 compliant caching layers.

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