2 Replies Latest reply on Sep 30, 2010 10:08 AM by walterjwhite

    DeferredEventNotification

    walterjwhite

      Hi all,


      I would like to utilize asynchronous event observes in my application; however, I am running it in Java SE and not Java EE.  After reviewing the code for DeferredEventNotification, I found that it wraps the notification in a request context.


      Is it possible to create an asynchronous or event context here and throw it into that?  I don't think the Request Context makes sense here.



      Walter

        • 1. Re: DeferredEventNotification
          nickarls

          Didn't someone(tm) work on an asynchronous event module?

          • 2. Re: DeferredEventNotification
            walterjwhite

            Were you at the JUDCon in Boston? :)  I was asking about something that was already in EJB 3.1 ...


            I am working on a quartz module for my own application server, but that is different, I think.  I believe I would have to override that DeferredEventNotification and the code that creates a new instance of that is all, but I don't know how to override that since it is built into the framework (Weld).



            Walter