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 project with 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 Next Server| 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.

Embed server in project - you can decide if you want to put server in your project or if you want to have server seperated from it. If you want to place it in you must provide path to zip file with server downloaded from JLupin Next Server website. If you want to embed server in project Server version field will be disabled - server version will be taken from zip.

Use Maven - if you want to have Maven project as a result select this checkbox. If you don't want Maven your project will use standard IntelliJ features.

Artifact version - required only for Maven type projects. Standard Maven field.

Server version - required only for Maven type projects when server is not embeded in project. This value is used for created microservice as a jlupin-client-assembly 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 step. 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.