O'Reilly logo

Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications by Paul Anderson, Gail Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Figure 4-6. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required