Java EE 5 supports two types of web services, namely POJO web services and EJB web services. The only element that we need to add to the Apache Geronimo deployment plan is a service-ref
element, which is required to map the web service proxy to a JNDI location. Thus, in order to create a Java EE web service in Apache Geronimo, we do not need to add entries in the server-specific deployment plans. This element, and the sub-elements that comprise it, are shown in the following four figures:
The following figure shows the service-completion Type element:
The following figure shows the port-completion Type element:
The following figure shows the port Type element:
The elements in the service-ref
element are explained below: