9.15 Procedure for specifying the callback method
To receive an entity lifecycle, you can specify a method in the lifecycle callback method. The method defined as a callback method is invoked corresponding to the persistence-related lifecycle event.
This section describes the location for specifying the callback method, the implementation methods, and the order of invocation.