[JBoss JIRA] Commented: (CDI-27) Support declarative transactions on managed beans
by Mark Struberg (JIRA)
[ https://issues.jboss.org/browse/CDI-27?page=com.atlassian.jira.plugin.sys... ]
Mark Struberg commented on CDI-27:
----------------------------------
Pete, does this issue mean to support EJBs @TransactionAttribute and stuff out of the box?
This would require a very deep integration with the EJB container and the support of various transaction models. Not sure if we really like to dig that deep. This is workwise basically a duplication of the EJB spec in this area. But technically it would be different because in EJB transactions are auto-on whereas in CDI they would still need to get applied automatically.
> 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
13 years, 10 months
Yan:: Re: About ProcessSessionBean<X> Container Lifecycle Event Class
by Gurkan Erdogdu
Pete i think that this is not related with the local interfaces. ProcessSessionBean event is fired for every X where X is a session bean class
Pzt, 13 Haz 2011 14:23 EEST tarihinde Pete Muir şöyle yazdı:
>I'm not actually sure, as X always refers to the bean class, rather than anything to do with the local interfaces. Any EJB expert (cc'ing Marina, David, Carlo, Jaikiran :-) able to shed light?
>
>On 13 Jun 2011, at 11:46, Gurkan Erdogdu wrote:
>
>> Hello,
>>
>> In the 1.0 specification, Chapter 11.5.8, ProcessSessionBean<X> container event class was defined as
>>
>> public interface ProcessSessionBean<X> extends ProcessManagedBean<Object> {
>> public String getEjbName();
>> public SessionBeanType getSessionBeanType();
>> }
>>
>> As I commented in https://issues.jboss.org/browse/CDITCK-215, it is more accurate to define this interface as
>>
>> public interface ProcessSessionBean<X> extends ProcessManagedBean<X>{
>> ....
>> }
>>
>> WDYT?
>>
>> --Gurkan Erdogdu
>> Founder and PMC Chair, Apache OpenWebBeans
>> _______________________________________________
>> cdi-dev mailing list
>> cdi-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
13 years, 10 months
About ProcessSessionBean<X> Container Lifecycle Event Class
by Gurkan Erdogdu
Hello,
In the 1.0 specification, Chapter 11.5.8, ProcessSessionBean<X> container event
class was defined as
public interface ProcessSessionBean<X> extends ProcessManagedBean<Object> {
public String getEjbName();
public SessionBeanType getSessionBeanType();
}
As I commented in https://issues.jboss.org/browse/CDITCK-215, it is more
accurate to define this interface as
public interface ProcessSessionBean<X> extends ProcessManagedBean<X>{
....
}
WDYT?
--Gurkan Erdogdu
Founder and PMC Chair, Apache OpenWebBeans
13 years, 10 months