Getting Started with Enterprise Beans
This chapter shows how to develop, deploy, and run a simple J2EE application named
ConverterApp
. The purpose ofConverterApp
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:
- Create the J2EE application:
ConverterApp
.- Create the enterprise bean:
ConverterBean
.- Create the application client:
ConverterClient
.- Create the web client in
ConverterWAR
.- Deploy
ConverterApp
onto the server.- From a terminal window, run
ConverterClient
.- 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 23).
- Started the server (see Starting and Stopping the Application Server).
- Launched
deploytool
(see Starting the deploytool Utility)