|Home > Apache Geronimo v2.1 > Documentation > Developer's guide > Tutorials > Web applications > Web Application for EJB access|
To run this tutorial, as a minimum you will be required to have installed the following prerequisite software:
Details on installing eclipse are provided in the Development environment section. This tutorial is organized in the following sections:
The application development will take you through the following:
Here the @Remote annotation is used to declare it as a Remote Interface.
Here the @Stateless annotation declares the POJO(Plain Old Java Object) as a Stateless session bean.
This complete the EJB code.
The @EJB(name = "ejb/Converter") injects the EJB into the servlet. This completes the code for Web project.
We have added a dependencies element (i.e., <dependencies>) and an ejb reference element (i.e., <ejb-ref>) to geronimo-web.xml. This step is required to make our CurrencyConvertEJB visible to our web application.