Skip to main content

REST tutorial : Create service layer

Greetings!

Welcome to 3rd part of our tutorial series. Previous part is here

Let's quickly build our service.

You can find the complete source code here Todoapp

Step 1: Create DTO


Step 2: Update model to create from/ to DTO


Step 3: Define service interface


Step 4: Implement services


That is all for our services.

Comments