This content has been marked as final.
Show 3 replies
-
1. Re: Trouble With CDI Events
jfuerth Apr 30, 2013 10:43 AM (in response to chaluwa)Hi Charles,
What you've described should work properly. We do exactly this in several of our demo apps.
Are your event types (ProgrammesEdited and OffersUpdated) annotated with @Portable?
-Jonathan
-
2. Re: Trouble With CDI Events
chaluwa Apr 30, 2013 11:03 AM (in response to jfuerth)Hmmm nope, I'll just add that. Do I have to add default-no-args constructor too.
-
3. Re: Trouble With CDI Events
jfuerth Apr 30, 2013 11:05 AM (in response to chaluwa)That's up to you, as long as you follow the Errai Marshalling rules. Errai Marshalling supports objects with and without default constructors.
https://docs.jboss.org/author/display/ERRAI/Marshalling
-Jonathan