The JavaT EE 5 Tutorial

21. 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.

Run the application client.

6.

Using a browser, run the web client.

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

  • Read Chapter 1.
  • Become familiar with enterprise beans (see Chapter 20).

  • Started the server (see Starting and Stopping the Application Server, page 27).

Категории