Chapter 6
269
"tns:BrokerServiceIntf">
...
...
Code Example 6.2
WSDL for Receiving the Invoices
Although you can modify the EIS systems that participate in Web service
interactions to export the Web service interfaces, a better approach uses a J2EE
connector to plug the EIS system into the J2EE application server. The connector
by its nature does not intrude on the EIS. This latter strategy takes advantage of
the capabilities of the J2EE server. Among other advantages, using connectors
allows the transactional and security contexts of a J2EE application server to carry
forward to the EIS application. Plus, the EIS can use the thread pools of the appli
cation server. In conjunction with connectors, you use JAX RPC from the J2EE
application server to expose a Web service interface. See Figure 6.6.
E
To expose a Web service interface for an EIS, use JAX RPC in front of a con
nector.
J2EE
Application
Server
C nt
Web or EJB
Client
P
EIS
R oi
component
ector
X
(business logic)
nn
JA endp
Co
Figure 6.6
Using JAX RPC and Connectors
<
New Page 1
Clan Web Hosting