Search⌘ K
AI Features

Develop the Mock User Interface

Explore how to develop a mock user interface that interacts with a service managing one-to-one self-referencing Student records. Understand the flow of JSP and JavaScript methods to create, update, delete, and view student and mentor data within a Java Spring framework.

We saw in the earlier section how to develop the mock service with an in-memory database. Now, we’ll look at the user interface that will call the mock service, as shown in Figure 5-2. The user interface will have methods to add, edit, delete, and display all records related to the Student, including the mentor.

JSP page

The JSP body is the initial page that loads, after ...