With a System Exception, the Container will...

  1. send it back to a Remote client as a RemoteException, or to a local client as an EJBException

    image with no caption
  2. always cause a transaction rollback

    image with no caption
  3. kill the bean, and log the exception

    image with no caption
 

Application Exceptions

System Exceptions

Client recovery

Transaction status

Bean instance

Logging

Examples

CreateException RemoveException FinderException ObjectNotFoundException DuplicateKeyException ...

Get Head First EJB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.