...
The Annotations-TestEJBAccess.zip file provides the CurrencyConverterEJB.jar
that needs to be deployed first, the WebAppEjbAccessAnnotations.war
which is the WAR we will be deploying and a sample of the generated deployment plan WebAppEjbAccessAnnotations_generatedPlan.xml
. Download and extract the zip file to a directory of your convenience.
With the server up and running access the Geronimo Administration Console with a web browser and click on Deploy New on the left menu. We will now deploy the WAR prerequisite JAR file.
On the Archive: field browse to the CurrencyConverterEJB.jar
file you just extracted and click "Install", this will install and start the JAR. You can verify the status of this JAR by clicking on EJB JARs link from the menu on the left. It should display something like this default/CurrencyConverterEJB/1199743733609/jar running
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> <dep:moduleId> <dep:groupId>default</dep:groupId> <dep:artifactId>WebAppEjbAccessAnnotations</dep:artifactId> <dep:version>1.0</dep:version> <dep:type>war</dep:type> </dep:moduleId> <dep:dependencies> <dep:dependency> <dep:groupId>default</dep:groupId> <dep:artifactId>CurrencyConverterEJB</dep:artifactId> <dep:version>1199740963562</dep:version> <dep:type>jar</dep:type> </dep:dependency> </dep:dependencies> </dep:environment> <context-root>WebAppEjbAccessAnnotations</context-root> <nam:ejb-ref xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2"> <nam:ref-name>ejb/Converter</nam:ref-name> <nam:pattern> <nam:groupId>default</nam:groupId> <nam:artifactId>CurrencyConverterEJB</nam:artifactId> <nam:version>1199740963562</nam:version> <nam:name>ConverterBean</nam:name> </nam:pattern> </nam:ejb-ref> </web-app> |
...