Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.46 KB

02_java_introduction_to_incident_management_application.md

File metadata and controls

41 lines (25 loc) · 1.46 KB

Incident Management Application

In this exercise we assume we are a developer given the task to implement an application to create and manage incidents, that is customer support messages. The application will allow customers to create incidents, processed by support team members. Both add comments to a conversation. Eventually, a repair appointment is created with a service worker assigned.

Create a new project

To create a new CAP project, you can use the cds init command. This command creates the needed project configuration for you to start developing your application. Since this exercise is about creating a simple incident management application, the project name will be incidents.

Use the following command in the terminal:

cds init incidents --add java

Load the project in the editor

Now, it's time to load our IDE and access the newly created directory. You can open the project folder incidents in your choice of IDE

In BAS:

  1. Go to Explorer -> Open Folder

Open Folder

  1. Choose incidents from the file explorer.

Open Application

Basic CAP structure containing folder db and srv has been created.

For now, the CAP Java application cannot serve any purpose as it has neither defined a domain model nor a service interface. This will be done in the following steps.


Proceed with the next step: Domain modeling