Search⌘ K
AI Features

Develop the Mock User Interface

Explore how to develop a mock user interface for managing customer data using Java, JSP, and JavaScript. Understand methods for loading data, creating, updating, editing, viewing, and deleting records within a one-to-one bi-directional relationship. This lesson helps you build interactive UI components that consume mock services for intuitive server-side data handling.

Let’s turn from developing the mock service with an in-memory database to developing the user interface, which will ingest this mock service, as shown in Figure 4-2. The user interface will have ways to add, edit, delete, and show all records related to the Customer, including the Cart amount field.

JSP page

The JSP body is the starting page that gets loaded, and subsequently, the JavaScript ...