0 Replies Latest reply on Jan 2, 2006 12:27 PM by albabtain

    Handling Application Exception In EJB3

    albabtain

      in the ejb3 fpd specs (EJB Core Contracts and Requirements) document. in section 13.4.1.1 , it says:

      If a client program receives an application exception from an enterprise bean invocation, the client can continue calling the enterprise bean. An application exception does not result in the removal of the EJB object.

      if I am calling a method on a statless session bean from a client, say a JSF app, and the method is marked with required transaction attribute and during the method execution an application exception was raised , but the exception purposely doesnt rollback the transaction to give the client a chance to recover.

      How does the client continue calling the enterprise bean ? Can anybody post an explanation or an example.