IBM Workplace Forms V2.6 integrated with IBM DB2 V9

Source: Internet
Author: User
Tags db2 http post ibm db2

Leveraging the XML features of DB2 V9 in the Workplace Forms solution

Introduction: Learn how to use IBM DB2 V9 as a repository for storing form data, and how to integrate DB2 and IBM Workplace forms. DB2 V9 introduces the ability to store XML data in native format, providing an ideal integration with the xml-based architecture of the Workplace forms form.

Typically, a relational DBMS stores XML data as a single column-row entity (such as a CLOB, BLOB, or VARCHAR), or decomposes ("shredded") XML data into multiple columns. These methods pose problems for many applications, including increasing the complexity of development and querying, making it difficult for schemas to meet new business requirements, and poor subdocument query Run-time performance. By storing XML data locally in a database, users can now take full advantage of the new XML query functionality, using the robust indexing and data storage capabilities of the DBMS, and taking into account the growth and changes in the XML schema.

The IBM Workplace forms document is fully described in XML format, and it is an ideal match to keep these forms in a database that can be managed in the native form of XML. The entire architecture described in this article is shown in Figure 1. The form includes a Submit button that performs an HTTP post that is uploaded to the back-end servlet. The servlet uses the IBM Workplace Forms Server API to extract data, manipulate the form, or perform both of these operations. In addition, you can perform any other business logic, such as placing a form on a workflow process. Finally, the servlet uses the IBM DB2 JDBC API to store the form in IBM DB2 V9.

Figure 1. Entire architecture

The remainder of this article is divided into a series of steps that describe:

How to set up integration prerequisites

How to add a Submit button to a form.

How to implement the servlet and save the form (and its xml-based data instances) in DB2 V9

How to use DB2 V9 control Center to verify that the form data has been successfully stored

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.