Domain Objects - The User
  • Example 1 shows the source code for the interface for the User object
  • Note that it is an interface, not an implementation
    • Consists solely of method signatures
    • The implementation is completely opaque
  • Extends javax.ejb.EJBObject
    • Provides common entity methods such as isIdentical() and remove()
  • All methods throw java.rmi.RemoteException
    • System errors in a bean are caught and transmuted to RemoteException

Next Slide >>