(since 3.0)

The easiest way to add server-side functionality to the web service is by registering persistent object lifecycle callbacks. Callbacks are enabled by default, so nothing special needs to be done beyond setting up the listeners.