Summary

At this point you have developed the API for your entity and its DAO.

Because entities interact with each other through their APIs, it is possible to develop the service layer APIs for an entire component before commencing implementation. Such an approach allows you to publish the APIs to any interested parties and/or generate navigable JavaDoc for your APIs.

Alternatively, you may wish to create a limited number of entity APIs and proceed to implement these APIs.