The Music EJB can interact with web clients, too. In this section, we'll show you how a JSP client can access the Music Collection database using the same EJB component.
The web component client uses three JSP programs. The first one, musicGet.jsp, displays recording titles and collects user input. Figure 4-5 shows a screen shot of this page.
The second JSP program, musicPost.jsp, displays track information for a recording title. Figure 4-6 shows a screen shot after the user selects “Graceland” and clicks the “View Tracks” button.