The scenarios in this cookbook are categorized (according to the task at hand) as follows:
- making calls to service-layer APIs;
- coding service-layer APIs; and
- coding service-layer implementations.
Each of these categories enumerates a number of scenarios, and each scenario describes the problem to be solved and walks through how to "cook up" a solution.
One possible scenario is that you are customizing software provided out-of-the-box. One common reason for doing this is to add attributes to database entities provided out-of-the-box. If this is what you are doing then you may only need to read the following three chapters, after which you may selectively read the rest of this guide as necessary:
- creating a Guice module;
- events;
- using entity context.
There are also chapters covering more advanced topics:
- state transitions; and
- inheritance; and
- adding new searches to existing entities.