Is it possible to send events from a JPA entity to a Seam Component? For example:
@Entity
public class Account {
public void close() {
Events.instance().raiseEvent("accountClosed", this.id);
}
}
All examples I have seen so far are from component to component.
Thanks.
Naresh