0 Replies Latest reply on Sep 14, 2009 7:49 PM by Naresh Bhatia

    Events from a JPA entity to a component

    Naresh Bhatia Newbie

      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