[cdi-dev] [JBoss JIRA] (CDI-31) Asynchronous events

Hantsy Bai hantsy at gmail.com
Thu Apr 12 03:17:12 EDT 2012


As a developer, I would like use CDI event obsever method with the EJB 
@Asynchronous directly, or  calls a Asynchronous method inside the  
obsever method.

And also please refer to the implementation of Spring, it also support EJB

@Asynchronous

or Spring specific
@Async

For developer, I do not want the things become complex.

There is no need to introduce new attribute or annotations.

BTW, I would like some features can be extracted from EJB spec, such as 
Transaction, Schedule etc...

On 4/12/2012 15:03, Mark Struberg (JIRA) wrote:
>      [ https://issues.jboss.org/browse/CDI-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683362#comment-12683362 ]
>
> Mark Struberg commented on CDI-31:
> ----------------------------------
>
> Well, but the ASYNC_NOWAIT use case is of almost no use as explained above!
>
>> Asynchronous events
>> -------------------
>>
>>                  Key: CDI-31
>>                  URL: https://issues.jboss.org/browse/CDI-31
>>              Project: CDI Specification Issues
>>           Issue Type: Feature Request
>>           Components: Events
>>     Affects Versions: 1.0
>>             Reporter: Nicklas Karlsson
>>              Fix For: TBD
>>
>>
>> Consider including asynchronous events as their were specified in one of the previous drafts.
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev



More information about the cdi-dev mailing list