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.
-
Create the enterprise bean:
ConverterBean
. -
Create the web client.
-
Deploy
converter
onto the server. -
Using a browser, run the web client.
Before proceeding, make sure that you've done the following:
-
Become familiar with enterprise beans (see Chapter 32, "Enterprise Beans")
-
Started the server (see Starting and Stopping GlassFish Server)
The following topics are addressed here: