Remote Object Persistence Coding Server

In the simplest case, there is no custom code on the server. The server would only contain Cayenne mapping files, persistent classes and web.xml descriptor specifying deployment parameters of the service. Customization is done in one of the following ways:

  • Via subclassing org.apache.cayenne.remote.hessian.service.HessianServlet
  • Adding business logic via lifecycle callbacks.


  1. Remote Object Persistence Lifecycle Callbacks