[
https://issues.jboss.org/browse/CDI-27?page=com.atlassian.jira.plugin.sys...
]
Mark Struberg commented on CDI-27:
----------------------------------
You could easily re-implement EJB 3.1 transactions with CDI 1.0.
a) yes, IF we like to provide such a mechanism in the CDI spec itself, then we
definitely should reuse the annotations from the EJB spec as far as possible.
b) there are already working portable Extensions which emulate EJB behaviour via CDI
interceptors. So I see no real reason why this should be put into the CDI spec.
c) the implicit 'TransactionalScope' which internally exists in all EJB containers
for 'Transactional EntityManagers' would need a 2 way integration because you can
only create an Extended EntityManager via public APIs. Which means this is pretty much EJB
container specific. It just feels more natural to me if those EJB containers would provide
CDI interceptors for 'extending' the EJB Transaction mechanism to CDI beans also.
Support declarative transactions on managed beans
-------------------------------------------------
Key: CDI-27
URL:
https://issues.jboss.org/browse/CDI-27
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Java EE integration
Affects Versions: 1.0
Reporter: Pete Muir
Fix For: 1.1 (Proposed)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira