Not sure about that.
I consider the CDI events part of the "business" layer, and the JSF
system events "UI" events
(in the larger scheme of things). Now there was some discussion with
the 299 EG and the
architecture group of not introducing events in CDI but instead
including some event
model in JavaEE 6.
-roger
Ed Burns wrote:
>>>>> On Thu, 17 Dec 2009 18:50:33 -0500, Dan Allen
<dan.j.allen(a)gmail.com> said:
>>>>>
DA> On Thu, Dec 17, 2009 at 6:44 PM, David Geary
<clarity.training(a)gmail.com>wrote:
>> I'm all +1 for this.
>>
>> CDI is incredibly powerful, as Gavin says "it changes everything". It
seems
>> to me that loose coupling with strong typing, implemented with producers,
>> events, interceptors, decorators and stereotypes, is the next logical step
>> in the evolution of object-oriented development.
>>
>> And we get conversation scope to boot. :)
>>
>>
>>
DA> Yep. Adam Bien provided a nice taste of the kind of out-of-the-box
DA> functionality you can get in a recent blog entry:
DA>
http://www.adam-bien.com/roller/abien/entry/java_ee_6_observer_with
That does rock. I wonder, though, might there be some power in
combining system events with javax.enterprise.event.Events?
Ed