The Java EE 7 Tutorial


33 Getting Started with Enterprise Beans

This chapter shows how to develop, deploy, and run a simple Java EE application named converter that uses an EJB for its business logic. The purpose of converter is to calculate currency conversions among Japanese yen, euros, and US dollars. The converter application consists of an enterprise bean, which performs the calculations, 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 web client.

  3. Deploy converter onto the server.

  4. Using a browser, run the web client.

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

The following topics are addressed here: