Search⌘ K

Domain Model

Explore how to design and develop standalone domain models using Java Spring. Understand building user interfaces, REST services, and unit testing to effectively manage entities like Product in an application.

We'll cover the following...

This chapter introduces the process of development with a standalone entity. You will learn how to design the tiers and development and unit testing techniques.

First, we will look at the development of the mock user interface and then turn to the development of the REST service.

We will look at data modeling scenarios and build all tiers of the application. In this chapter, we have an example of a standalone entity and will build all the tiers to show you how to manage the entity.

We will start with a simple standalone entity called Product, shown in figure 2-1. The properties include the name and identifier field. The development will be divided into two broad teams: the user interface team and the service development team.


In the next lesson, we will learn how to create the data transfer object.