2 Replies Latest reply on Jun 24, 2005 7:48 PM by starksm64

    Throwing RemoteException

      I understand RemoteException should not be thrown directly. Say you had a release where RemoteException was thrown by some session beans: until the next patch is released, are there any dangers we need to know about?

        • 1. Re: Throwing RemoteException

          To clarify, the RemoteException is thrown from a stateless session bean and caught in the web tier. Tested and does work but also know that throwing RemoteException is a crime with an unstipulated punishment.

          • 2. Re: Throwing RemoteException
            starksm64

            RemoteException is deprecated on the bean implementation method. What happens when the implementation method is the target of a local interface? A RemoteException is a checked exception and as such an application defined exception. Its semantics are the same as any other app exception.