3.4. Web Component Client (JSP Client)

A stand-alone Java application is appropriate when the client performs an administrative function on a specific machine with a limited user base. A web component client, on the other hand, can run on any machine with a web browser as long as it is connected to a J2EE application server (either directly or across the Internet). In this section, we'll create a JSP component that is a typical browser-based procedure. This JSP program will be a web-enabled version of the Loan EJB client that we showed you in the previous section.

Introducing Servlets and JSP

If you are already familiar with JSP and servlets, you can skip this section. JSP is really just a front end for servlets, so let's provide an overview ...

Get Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.