Chapter 10. Web services scenario 295
The enterprise applications could also be located on another server
accessible on the Internet. However, our focus is on intra-enterprise
applications with the Self-Service business pattern. The Extended Enterprise
(business-to-business) business pattern can be used to connect
intra-enterprise applications.
10.2.1 Component model
A component model shows a breakdown of both the client (Web service
requester) application server and the enterprise (Web service provider)
application server. The component model diagram in Figure 10-2 illustrates the
design for the CreditCheck service.
Figure 10-2 CreditCheck component model diagram
A session bean provides the connection to a Web services proxy. The proxy has
the information required to send a message to the service provider using the
SOAP and HTTP protocols. In this case, the proxy sends the request to an
inbound service on the service integration bus. The bus makes the connection
between the inbound service and the outbound service representing the
CreditCheck service.
The component model diagram in Figure 10-3 on page 296 illustrates the design
for the DeliverySystem service.
Self Service Application
Processor EJB Module
CreditCheck
Client Proxy
CreditCheck Application
Service Integration Bus
Web Service
Destination
CreditCheck
Data Binding
CreditCheckBean
CreditCheckEJB Module

Get Patterns: Implementing Self-Service in an SOA Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.