Domain Model

The domain model of a one-to-one unidirectional relationship will be discussed in this lesson.

In the previous chapter, we looked at individual components of the spring application and the role they play. Now, we will learn more about specific relationship models and their implementations, beginning with a one-to-one unidirectional relationship.

A one-to-one unidirectional relationship is a one-to-one relationship that does not refer back to the parent entity. In this chapter, we will follow the same flow of starting with the user interface, followed by the service development, and finally join both modules at the end of the chapter.

This approach will allow you to master the user interface by taking an example of a related entity followed by the REST service development. You will leave the chapter ready to fully execute a one-to-one unidirectional relationship.

Get hands-on with 1200+ tech skills courses.