Search⌘ K
AI Features

Develop the Mock User Interface

Explore how to develop a mock user interface for a many-to-many self-referencing model using Java JSP and JavaScript. Understand methods for loading data, creating and deleting relationships, and managing UI events to consume a mock service effectively.

In the previous section, we learned how to create the mock service with an in-memory database. Now we will learn how to form the user interface, shown in Figure 13-2, which will consume this mock service. We will only discuss the join related user interface fragment because the create, read, update, and delete methods for the Worker are identical.

JSP page

...