Getting Started with Enterprise Beans

This chapter shows how to develop, deploy, and run a simple Java EE application named converter. The purpose of converter is to calculate currency conversions between Japanese yen and Eurodollars. converter consists of an enterprise bean, which performs the calculations, and two types of clients: an application client and a web client.

Here's an overview of the steps you'll follow in this chapter:

  1. Create the enterprise bean: ConverterBean.
  2. Create the application client: ConverterClient.
  3. Create the web client in converter-war.
  4. Deploy converter onto the server.
  5. From a terminal window, run converterClient.jar.
  6. Using a browser, run the web client.

Before proceeding, make sure that you've done the following: