4.4. JSP Web Component Client
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.
Figure 4-5. Screen Shot of Initial JSP Web Client Program for the Music EJB
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.