Three layer project

Three layer project type is a subtype of Standard project. It follows three layered application pattern with access layer, business logic layer and data layer. It automatically creates proper directories and put microservices where they should be. Also it supports special microservices' types which are subtypes of standard servlet and native microservices. So access layer microservices are servlet microservices and business logic layer microservices and data layer microservices are native microservices. It is good start for those who hadn't had any contact with microservices.

Creating

From the New Project window select JLupin Platform project type and choose Three layer project from the list.

Figure 1. Select three layer project.

Click Next.

Figure 2. Step 1.

In the second step some project details are required to fill.

Group id - It is group identiefier which will be used as a main package name for created elements.

Artifact version - Standard Maven field describing version.

Platform version - Platform project structure version.

When you done click Next.

Figure 3. Step 2.

Next step is for providing access layer (servlet) microservices names. Just type microservice name and click Add. You can add as many microservices as you want. When you done click Next.

Figure 4. Step 3.

Next step is for providing business logic layer (native) microservices names. Just type microservice name and click Add. You can add as many microservices as you want. When you done click Next.

Figure 5. Step 4.

Next step is for providing data layer (native) microservices names. Just type microservice name and click Add. You can add as many microservices as you want. When you done click Next.

Figure 6. Step 5.

Last step is a standard IntelliJ configuration. You provide here name of the project and location for files. When you done click Finish.

Editor will start to create all your files. Project pane will be opened when it done.