Web Services Invocation Framework:
An EJB as a WSDL-described service
This directory contains an implementation for a session bean that provides the abstract functionality described in our AddressBook WSDL. The files contained here are:
- AddressBookSession.java, the EJB interface for our session bean.
- AddressBookSessionHome.java, the home interface for our session bean.
- AddressBookSessionBean.java, the EJBimplementation. This is as vanilla as can be, using a hash table to store a map of names to addresses.
- addressbook is a subdirectory containing the complex Java types used - these can be generated from the WSDL
- deploy is a subdirectory containing the things necessary to deploy this EJB to your favorite application server. Generally to deploy your EJB you will need to compile the code for this sample, then package it into a JAR along with an ejb-jar.xml file. Your application server may need other files, take a look at app server specific instructions under the deploy directory. Here is the README in case you use JBoss.