This content has been marked as final.
Show 3 replies
-
1. Re: Event payload
nickarls Dec 2, 2009 8:10 PM (in response to asookazian)Events are synchronous and doesn't have the concept of scope. Asynchronous observers were dropped from the spec but might make a re-appearance later (well, transactional observers are semi-asynchronous. They happen later but when they are fired, they're synchronous).
You can use JMS as an event bus also (woohooo!)
Remote EJB:s can listen to events too. It's just method calls. And if the EJB is not available, well then the application hangs ;-)
-
2. Re: Event payload
asookazian Dec 2, 2009 8:23 PM (in response to asookazian)thx for the answers! so then there is a need for asynchronous observers.
so if the application hangs we must set some timeout config for the event/observe process, no?
-
3. Re: Event payload
nickarls Dec 2, 2009 8:29 PM (in response to asookazian)Dunno, pretty much the same situation you have to deal with normal remote ejb calls (haven't used them that much)...