0 Replies Latest reply on Sep 14, 2009 7:49 PM by nbhatia.bhatian.comcast.net

    Events from a JPA entity to a component

    nbhatia.bhatian.comcast.net

      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