␡
- EJB Overview
- EJB Architecture
- EJB Types
- EJB Exception Types
- EJB Development Considerations and Steps
- Conclusions
Like this article? We recommend
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.