Solution overview
The IBM WebSphere Portfolio offers software that can easily be integrated in your business or in your system, as discussed in 1.2, “The business scenario” on page 14. This chapter covers the solution for addressing the business problem.
The following topics are covered:
2.1 The solution architecture
To meet all of the requirements for the business problem described in 1.2, “The business scenario” on page 14, several software components have to be used.
To begin with, there is a need to provide two different access channels for the users, so web and mobile access will be provided by separate services. Both services trigger the Redbooks Company Service Desk business process, which handles the execution of business rules and approvals required from technical support and financial manager to complete the process. It is highly suggested to use a single integration point that handles the transportation and mediation of incoming messages. Such a component performs the enterprise service bus role. It translates the incoming messages so that process management can understand them. The last important component of the solution is the database where all claim records are kept and updated throughout the business process lifecycle.
Figure 2-1 shows a high-level solution overview for our business case.
Figure 2-1 High-level solution outline for the Redbooks Company Service Desk system
The following outlines the key elements that implement the solution:
Web application server
Mobile access server
Enterprise service bus
Process management server
Database
2.2 Middleware products used for the solution
The solution requires the implementation of each of the elements specified in Figure 2-1. Table 2-1 on page 21 maps the key solution elements to specific IBM software products that will be used for the implementation. These products will establish a solid technology baseline for the solution, upon which the customer-ready system can be created.
 
Note: Using all of the mentioned IBM products to create this simple scenario in real-life would be an exaggeration, however this simple case is perfect to illustrate how separate WebSphere components integrate with each other to create the solution.
Table 2-1 Map of the key solution elements to IBM product components
Solution component name
Product name
Function within this solution
Web Application Server
WebSphere Application Server
Provides a scalable Java Enterprise Edition platform that will run a custom developed web application and many advanced features and tools that can be used with little or no configuration to perform a fast integration with other components.
Mobile access server
IBM Worklight
Provides an advanced platform for developing, deploying, hosting, and managing mobile enterprise applications for smart devices. The Worklight server is also a scalable Java based gateway between applications and internal services.
Enterprise service bus
IBM Integration Bus
Provides a great variety of options for implementing a universal integration foundation, based on enterprise service bus (ESB). It enables the integration of data sources from both web and mobile channels, and provides the transformation of the messages running inside the solution.
Process management server
Business Process Manager Advanced
Provides a comprehensive business process management (BPM) platform. The Advanced edition supports high-volume automation and extensive system integration and human workflow. The main components of this product are the process server, process center, IBM Process Designer, and IBM Integration Designer.
IBM Operational Decision Manager
Provides a comprehensive platform for the management and execution of business rules and business events:
WebSphere Decision Center enables business users to govern business rules and business event-based decision logic.
WebSphere Decision Server automates decision logic, enabling sense and respond actions based on context of an event.
Database
IBM DB2®
Provides a scalable, enterprise-wide solution for handling high-volume workloads and relational data structures.
2.2.1 Additional solution artifacts
The final solution consists of the elements specified in Table 2-1. Each of the components has to be configured and integrated with other components. There is also a need for custom-made artifacts, such as applications, business processes, rules, and integration flows.
This is a brief list of additional artifacts that complete the solution:
The dynamic web application packaged as Web ARchive (WAR), which includes an HTML generated claim form for the user and controller logic for sending a message containing the user input to the Integration Bus.
The mobile, integrated application that enables mobile users to file the same claim form as the web application and send it to the IBM Integration Bus from a smart device.
Integration flows that will retrieve messages from both web (Extensible Markup Language (XML) message) and mobile (JavaScript Object Notation (JSON) message) sources, transform them, persist in the database, and invoke the business process.
The business process and set of business rules that model the acceptance process of the claim form, including human tasks required for the business user to submit a claim for approval.
The database containing tables and relations required to store claim requests from users.
2.2.2 Integration of the components
Now that we described the technology that will be used and what kind of artifacts have to be produced to create the solution, the next step is to design the integration setup of the system.
The main integration point of the solution is the Integration Bus, which is capable of handling a wide variety of different protocols. To demonstrate the protocols, we choose to use WebSphere message queuing (MQ) as an asynchronous method of delivering messages from the application server to the Integration Bus. The web application will use Java Message Service (JMS) to deliver an XML formed message to the WebSphere MQ queue. The Integration Bus will listen on this queue and pick up any message that arrives.
The mobile application will integrate with the Integration Bus through a Worklight HTTP adapter, which will use a Representational state transfer (REST) service to send a synchronous HTTP request using JSON data.
 
Note: In an ideal world, systems and their services should be designed to use a common technology standard wherever possible to communicate. This reduces the number of different technology stacks and simplifies the administration. In this scenario, multiple integration standards were used to demonstrate several integration alternatives that can be used with WebSphere software.
When the user submits the claim form, both web and mobile applications generate a tracking number, enabling users to check the status of the request. This tracking number, along with a time stamp, will be included in data payload that is sent to the Integration Bus.
The Integration Bus will transform the incoming messages so that it will be able to persist them in a relational database, using the native open database connectivity (ODBC) drivers. Additionally, the Integration Bus will update a log file for each request, after it commits the record to the database. This log will be an additional solution feature that can be helpful for administrators in tracing whether the request came from the mobile or web applications. The last part of the integration flow that is executed by the Integration Bus will be the invocation of a business rule, which will be exposed as a web service by the Operational Decision Manager.
The purpose of the exposed business rule will be to verify if the user claim request is valid and whether it should initiate the business process. If so, the Operational Decision Manager will trigger the business process using a web service call to the Business Process Manager.
During the business process flow, the Business Process Manager will be the supervisor of the business process state, but it will ask the Operational Decision Manager for any decisions that are based on business rules (for example, to check if the serial number requires additional financial manager approval). Business Process Manager will handle the human tasks, such as providing approvals, and it will update the final status of the claim form in the database. Both Business Process Manager and Operational Decision Manager will use JDBC connections to communicate with the database where the claim form was persisted. For more details and a description of the business process used in this scenario, refer to Table 4-4 on page 93.
Figure 2-2 shows the described integration model for the solution.
Figure 2-2 Solution integration model
2.3 Deployment topology
The final solution will by composed from the artifacts described in 2.2.1, “Additional solution artifacts” on page 21 that will be integrated accordingly to 2.2.2, “Integration of the components” on page 22. However, there is still a need to discuss the deployment topology and configuration aspects of each of the solution components.
Figure 2-3 on page 24 presents a detailed deployment diagram of the components in conjunction with the custom-made artifacts.
Figure 2-3 Deployment diagram of the components and the custom made artifacts
As you see from Figure 2-3, some of the integration between the solution components is done using functionalities that are provided by products, such as messaging providers, but some require further development to ensure proper integration, for example, custom integration flows.
Let us start with the Integration Bus. It consists of two integral components: the Integration Server and the WebSphere MQ Queue Manager. Both will be installed on the same system. All custom integration flows with the integration logic will be executed in the Integration Server runtime environment, which has access to the WebSphere MQ Queue Manager. There will also be a single queue defined on the WebSphere MQ Queue Manager, which will be exposed to the WebSphere Application Server. The web application will use the WebSphere MQ messaging provider from the WebSphere Application Server to communicate with the WebSphere MQ Queue Manager and send the messages to its WebSphere MQ queue.
The mobile application will be running on the business user’s smart device. To communicate with the Integration Bus, it will use the IBM Worklight environment, which provides an HTTP adapter. This adapter will be configured to communicate with the Integration Bus message flow.
 
Note: This is a simplified scenario to demonstrate the integration capabilities of the IBM WebSphere components. In a real-life, production environment, both web and mobile users should not be able to communicate directly with the WebSphere Application Server or Worklight server. An additional demilitarized zone (DMZ) with HTTP proxy servers should be considered to secure this communication.
The business process part of the solution is running on two components installed separately:
The first is the Decision Server, which is part of the Operational Decision Manager product. It will execute all decision rules used in the solution.
The second is Process Center, which is the runtime environment for business processes, which are defined in the Business Process Manager.
Both products are implemented on the WebSphere Application Server runtime environment and will use its JDBC Provider features to connect to the DB2 database.
2.4 Bringing the solution to the cloud
Having a complete solution, the next step is to increase its adaptability, reliability, and scalability, and also optimizing operational costs with the expert integrated system.
The best way to achieve all these factors is using PaaS (Platform as a Service) on IBM cloud environment. Bringing the solution to the cloud, it can derive advantage of other benefits like automated creation from patterns or replication of the whole solution. It is an effective way for seamless integration of the software lifecycle like from development to production, which can be created in a matter of hours instead of months.
In case of increased workload, such approach enables to respond very quickly to the demand thanks to transparent horizontal and vertical scalability. Additionally, it can be a very efficient mechanism to control and optimize the number of licenses used for the solution. On this topic, follow Rapid deployment of integrated WebSphere solutions in your cloud, REDP-5132:
With the IBM Redpaper publication, learn how to migrate from a classic, on-premises system design to a scalable cloud environment. It guides through an end to end migration process including preparation of automated scripts packages, configuring patterns, and many other considerations. It covers the IBM cloud offerings of IBM PureApplication System and IBM PureApplication Services on SoftLayer® and uses the business solution created and covered in this book.
 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.30.118