Prev | Current Page 156 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

Since we are using the same classes
(IHello and HelloServiceImpl) as used in the previous example here too, they are
not repeated here. We will look at the other artifacts in detail here:
1. IHello.class: This is same as in the previous example.
2. HelloServiceImpl.class: This is same as in the previous example.
3. applicationContext.xml: The HelloServiceImpl class is configured in
Spring's applicationContext as shown here:




4. xfire-servlet.xml: In xfire-servlet.xml, the main part is the configuration
of the web controller that exports the specified service bean as an XFire
SOAP service endpoint. Typically, we will do this in the servlet context
configuration file. As given in next section, since the dispatcher servlet is
named xfire, this file should be called xfire-servlet.xml.
This is shown in the following code:

0" "









class="org.


Pages:
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168