CDI event propagation to ViewAccessScoped/ConversationScoped classes

2013-10-08 Thread Boris Brönner
Hello, I have a database layer, that can be accessed by JSF and by REST. The backing beans for JSF are ViewAccessScoped. The services for REST are RequestScoped. When creating an entity, from both JSF or REST, an event should be raised to notify all possible clients (JSF, but also other clients

Re: CDI event propagation to ViewAccessScoped/ConversationScoped classes

2013-10-08 Thread Thomas Andraschko
Hi, did you already try to set the reception on the @Observers annotation? 2013/10/8 Boris Brönner borisbroen...@gmail.com Hello, I have a database layer, that can be accessed by JSF and by REST. The backing beans for JSF are ViewAccessScoped. The services for REST are RequestScoped.

Re: CDI event propagation to ViewAccessScoped/ConversationScoped classes

2013-10-08 Thread Boris Brönner
Hi, On Tue, Oct 8, 2013 at 4:15 PM, Thomas Andraschko andraschko.tho...@gmail.com wrote: Hi, did you already try to set the reception on the @Observers annotation? Wow, I didn't know that at all. That worked! Thanks a lot :) Regards, Boris 2013/10/8 Boris Brönner