Home > Articles > Programming > Java

  • Print
  • + Share This
From the author of

EJB Exception Types

Because EJB interfaces imply RMI semantics, all distributed EJB client interfaces extend from java.rmi.Remote and throw the java.rmi.RemoteException from each of their methods. In addition to RemoteException objects, EJBs can throw other EJB-specific exceptions that relate to error and failure scenarios resulting from the invocation of EJB operations. Figure 2 depicts the EJB v1.1 exception hierarchy via a Unified Modeling Language (UML) class diagram.

Figure 2 EJB exceptions.

  • + Share This
  • 🔖 Save To Your Account