|Home > Documentation > Developing > Tutorials > Developing Web applications > Accessing EJB in Web applications|
To run this tutorial, as a minimum you will be required to have installed the following prerequisite software:
Geronimo version 2.1.x, Java 1.5 runtime, and Eclipse Ganymede are used is used in this tutorial but other versions can be used instead (e.g., Geronimo version 2.2, Java 1.6, Eclipse Europa)
Details on installing eclipse are provided in the Development environment section. This tutorial is organized in the following sections:
Converter.java. Here the @Remote annotation is used to declare it as a Remote Interface.
ConverterBean.javaHere the @Stateless annotation declares the POJO(Plain Old Java Object) as a Stateless session bean.
geronimo-web.xmlas follows: 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.