4. 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:
Become familiar with enterprise beans (see Chapter 3, “Enterprise ...
Get The Java EE 7 Tutorial, Volume 2, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.