[
https://issues.jboss.org/browse/AS7-6658?page=com.atlassian.jira.plugin.s...
]
Avelino Martins commented on AS7-6658:
--------------------------------------
Hi Radoslav,
while i agree that is good practice to leave cache configuration to the container and
inject it using @Resource as in your example, it doesn't hurts being able to use the
related functionality provided by the infinispan-cdi module when needed.
But indeed the main reason are the JCache annotations. Supposedly, from what i have been
reading, JCache is to miss JavaEE 7, and so it makes even more sense to have the module
included even if it's only on the new version 8 of JBoss AS.
Include Infinispan CDI as a JBoss module
----------------------------------------
Key: AS7-6658
URL:
https://issues.jboss.org/browse/AS7-6658
Project: Application Server 7
Issue Type: Enhancement
Components: Clustering
Reporter: Avelino Martins
Assignee: Radoslav Husar
Fix For: 8.0.0.Alpha1
CDI has become an invaluable technology on any JavaEE project. I find hard to justify
having to include infinispan-cdi as a compile dependency on every project that uses ISPN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira