|
SYS-CON Magazines
|
Top Linux Links You Must Click On
Feature How to Deliver Composite Applications with Java, WS-BPEL & SOA
Supporting the complete lifecycle
Apr. 9, 2007 09:30 AM
Java is an outstanding language for building components, services, and many applications that are vendor and platform neutral. The vast adoption of Java technology by the industry in the past decade is a testament to the power of Java. Development of new applications, services, and components using Java is not going away, but many organizations have progressively moved to the next phase in maturing their IT Infrastructure. This phase is driven by many factors including how businesses operate today, having to constantly adjust to market trends, and that IT has moved from being a support organization to being the backbone of business and, hence, needs to keep pace with the organization. Continuous and faster alignment with changing business needs, time-to-market, and cost are the factors that determine success in this phase.
This article will briefly explain what these technologies are and how they can work together to improve developer productivity and business agility.
The Technologies - Java, WS-BPEL, and SOA Service-oriented architecture is a technical pattern for implementing cohesive and loosely coupled business and technical functions with well-defined interfaces. Such services are consumed through the details specified in the interface and without any knowledge about the implementation. While the SOA-based infrastructure model shown in Figure 1 has a few, but well-defined, layers of services, in reality there may be many more layers, as the services are reused and composed to create coarser-grained services. As illustrated in the diagram, services can consume each other to provide layers of services and such a model can be implemented using any language including Java. The service is not technology-dependent as long as it can be consumed through the well-defined interface. Java EE 5 is a set of coordinated technologies that enable solutions for developing, deploying, and managing server-centric applications. WS-BPEL is an XML-based execution language that can be used to compose the coarse-grained services into broader services or complete applications.
Tough Decisions The science of delivering composite applications becomes more of an art when architects try to understand when to switch from Java to WS-BPEL. This decision often determines the agility of the composite application.
The Right Set of Tools
In effect this bundle provides the capability to support the complete life cycle to develop, deploy, and manage applications and business processes, composing services from Java EE applications and Web services.
Putting the Technology into Action Use Case In the architecture depicted in Figure 2, there are three existing Java EE Applications: 1) the Performance Evaluator - provides evaluations on the fiscal performance of existing customers; 2) the Vehicle Information Server - evaluates market conditions and vehicle history and serves a detailed report on the worthiness of the vehicle; and 3) the Financial Index Server - provides the current running rates and values that should be used to compute the loan details. The new application should provide a service to receive loan applications over the Web and respond with a decision. The loan decision should be arrived at by applying predefined processing rules on the following data: 1) applicant's financial worthiness, 2) vehicle's value, 3) loan amount, and 4) current policies and indices for loans.
Design The new application requires the development of the following services: 1) Applicant Evaluator - a service that aggregates an internal report if the applicant is an existing customer with an external credit report; 2) Loan Approval Processor - a service that takes an applicant's fiscal performance, vehicle report, and current indicators and comes up with a decision; and 3) the Vehicle Loan Application Process that will be exposed to the external world. This process will receive an incoming credit application, invoke the Applicant Evaluator Service, Vehicle Information Service, and Financial Index Service in that order and pass the results from all these services to the Loan Approval Processor service and return the decision to the caller. Reader Feedback: Page 1 of 1
Subscribe to our RSS feeds now and receive the next article instantly!
Subscribe to the World's Most Powerful Newsletters
|
||||||||||||