Getting Started with Enterprise Beans

This chapter shows how to develop, deploy, and run a simple J2EE application named ConverterApp. The purpose of ConverterApp is to calculate currency conversions between yen and eurodollars. ConverterApp 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 J2EE application: ConverterApp.
  2. Create the enterprise bean: ConverterBean.
  3. Create the application client: ConverterClient.
  4. Create the web client in ConverterWAR.
  5. Deploy ConverterApp onto the server.
  6. From a terminal window, run ConverterClient.
  7. Using a browser, run the web client.

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