Summary
Many databases don’t give users the view of information that they want. They simply are not structured that way. However the SOA Gateway enables a tailored business view of data and business logic, without additional client side software, or code development. From an intuitive GUI, users can create custom data views accessible using standard SOAP, or REST services that are both easilydefined and reusable. These services can also be created to enable CRUD access, while preserving and strengthening data integrity and security.
About the Author
John Power is a driving force behind the development of the SOA Gateway and Managing Director of Risaris Limited. With over 25 years experience in the software industry, John has delivered complex integration projects in Software AG, Delta Airlines, Boston University and Morgan Stanley.
Contents
|
1.
Introduction
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
2. A
Simple Example |
3. The Traditional Approach
In order to access and update Vehicle and / or Owner data, applications must understand that there are two different but associated tables and keep these files consistent. For example, when an owner is added with a registration number, the vehicle file must have an associated entry with that particular registration number.
In the traditional approach access to the data will normally be direct as per the diagram:
There are a number of issues with this scenario:
A ‘OID’ request is in fact two databases accesses generating extra network traffic.
Although the vehicle data ‘Regnum’ is the key used by the system to get the associated entry in the Vehicle’s table/file, it may not be relevant to the client’s OID search and may be hidden.
For traditional access, software must be installed on the client system to access the back end databases.
Synchronisation can be an issue where the data is in multiple databases.
Synchronisation can be an issue as there are multiple databases…
No additional software is required client side…
5. Ensuring consitency across the databases requires a clear data model.
4. The SOA Gateway Approach
The SOA Gateway tackles the 5 issues (listed on page 4) so often associated with the traditional approach to data access. It does this by creating a business service for the data as follows:
This configuration offers the following advantages:
Only one trip is required to the backend system to retrieve, or update the composite object.
The programmer does not need to know, or understand internal links between tables, or files and just deals with the fields and columns of relevance.
The SOA Gateway must only be installed on the server where the data is resident
– no additional software is required client side.
The owner of the data defines the model and thus programmers always deal with the business data view.
The SOA Gateway can take care of any synchronisation issues, with data from different databases using the transactional capabilities of the back office system.
5. Creating a Business Data View Service
Using the SOA Gateway, the Business Data View is built to reflect the business entity and is then linked to the physical data views all using the intuitive GUI of the Gateway’s Eclipse Control Centre.
A business data view service is created to directly expose a table, file….
Here are some of the advantages of this approach:
The users can select just those fields, or columns required in the business data view. In the diagram, ’ Address’ (in the Owner table/file), ’ CC’ and ’ Year’ (in the Vehicles table/file) are not used in the Business Data View.
Fields, or columns (such as registration number in the above example) in the physical view may be passed and parsed internally, though not form part of the actual business data view. This is useful for passing internal keys to data which may be meaningless to a user.
A Business Data View service is created in the SOA Gateway (based on existing physical services) to directly expose a table, file, or piece of business logic.
Existing services may be re-used in one, or more Business Data Views.
6. Using the Business Data View Service
Once the Business Data View Service has been created, it can be used in precisely the same way as any other SOA Gateway service. If the service is called ‘OwnerVehicle’ for example, the WSDL for the SOAP requests may be returned using the following URL: http://7. Working with Business Data View Object
The SOA Gateway can make any Business Data View object available using the standard REST, or SOAP based access, as in the following example:
Some points to note about the above:
The same straightforward approach is adopted in respect of; ADDING / UPDATING, or DELETING a business data view object using REST, or SOAP access via the SOA Gateway.
… a business data view of data residing in multiple databases.
8. Business Data Views & Multiple Databases
The SOA Gateway can generate a Business Data View of data residing in multiple database, or even different database technologies.
The following diagram illustrates this for data spread across ADABAS and DB2:
Some points to note about the above:
9. Business Data Views of Business Logic
The SOA Gateway provides a single business view of business logic, as well as data. That means the data can be retrieved from applications, or subprograms such as a Natural subprogram in the following diagram:
Some points to note about the above:
10. Conclusions
11. About The SOA Gateway
The SOA Gateway is a cost effective software tool to: Access data faster... It enables access to data from a wide range of database languages (ADABAS, MySQL, DB2, VSAM & Oracle), or applications, without server side code, or expensive middleware. Access business logic easier... The SOA Gateway enables easy access and reuse of valuable business logic written in CICS, COBOL, C, NATURAL and many other languages.For more information visit: www.risaris.com or email john.power@risaris.com
© Risaris 2008
Soagateway.com - Soa Gateway is a software
tool used in soa projects, data application, soa gateway projects, data application,
web applications, php applications, legacy migration, legacy data, legacy
systems and data access integration.
www.soagateway.com
Key terms: soa gateway,soagateway,SOA Architecture,SOA Services,business soa,soa
solutions, data application access