Implementing Web Applications with CM Information Integrator for Content and OnDemand Web Enablement Kit

Book description

In this IBM Redbooks publication, we deal with implementing Web applications using IBM DB2 Content Manager Information Integrator for Content Version 8 and IBM DB2 Content Manager OnDemand Web Enablement Kit. It is aimed at designers and developers of Content Manager systems.

In Part 1, we provide a brief introduction to Content Manager, OnDemand, Web application basics, and the case study we use throughout the entire book when showing and demonstrating how to develop Web applications.

In Part 2, we work specifically with application development with Information Integrator for Content. We provide a brief programming overview and show you how to get a quick start with developing Web applications using the Java OO APIs. Using non-visual Java beans, we show you how to build a generic Content Manager application. Working with the case study, we also show you how to build a customized Content Manager application. Lastly, we show you how you can add text search and document rendering in your application.

In Part 3, we work with ODWEK. We provide a brief overview of Web enabling OnDemand, installing and configuring of ODWEK, and developing a Web application using ODWEK.

There are many sample codes provided along with this book. They provide the basic concept and code for developing Content Manager and OnDemand Web applications.

Please note that the additional material referenced in the text is not available from IBM.

Table of contents

  1. Notices
    1. Trademarks
  2. Preface
    1. The team that wrote this redbook
    2. Become a published author
    3. Comments welcome
  3. Part 1: Introduction
    1. Chapter 1: Web application basics
      1. Overview
        1. Common features
        2. Web server
        3. Web application packaging
        4. Web services: Service-oriented application
        5. Web services standards
      2. Java servlet
        1. Servlet container
        2. Servlet API
        3. Servlet life cycle
        4. Sharing information
        5. Filtering requests and responses
        6. Maintaining client and application state
        7. Packaging servlets
      3. JavaServer Pages (JSP)
        1. JSP elements
        2. JSP Standard Tag Libraries (JSTL)
        3. JSP life cycle
        4. JSP translation and compilation
        5. JSP advantages
        6. Packaging JSPs
      4. JavaServer Faces technology (JSF)
        1. JSF APIs
      5. Model-View-Controller architecture
        1. MVC advantages
      6. Java 2 Platform Enterprise Edition (J2EE)
        1. J2EE architecture
        2. Component technologies
        3. Packaging J2EE applications
      7. Struts
    2. Chapter 2: Content Manager overview
      1. Overview (1/2)
      2. Overview (2/2)
        1. System components
        2. System configuration
      3. Data modeling (1/2)
      4. Data modeling (2/2)
        1. Items and item types
        2. Attributes and attribute groups
        3. Root and child components
        4. Item type classifications
        5. Versioning
        6. Links, references, and foreign keys
      5. Document Routing (1/2)
      6. Document Routing (2/2)
        1. Key concepts
        2. Process
        3. Work nodes
        4. Work packages
        5. Worklists
      7. Security and privilege sets
        1. Access control list (ACL)
        2. Privilege and privilege set
      8. Information Integrator for Content
        1. Information access
        2. Services
        3. Administration database and client
    3. Chapter 3: OnDemand overview
      1. Overview
      2. Basic concepts
        1. Applications
        2. Application groups
        3. Folder
        4. Indexing methods and documents
      3. Servers and server programs (1/2)
      4. Servers and server programs (2/2)
        1. System configuration
    4. Chapter 4: Case study
      1. Business case
        1. Current building permit process
      2. Redbrook County legacy system
      3. Business problem
        1. User requirements
      4. Proposed solution
        1. System architecture
        2. Web-based application modules
        3. Content Manager data model
        4. OnDemand system setup
  4. Part 2: Developing CM Web applications with Information Integration for Content
    1. Chapter 5: Information Integrator for Content programming overview
      1. API overview
      2. Information Integrator for Content Java classes
      3. Information Integrator for Content Java beans
        1. Non-visual beans
        2. Visual beans
      4. Java viewer toolkit
      5. Content server and DDO concept
        1. Content server
        2. Dynamic data object (DDO) and extended data object (XDO)
      6. Mapping the terminology
    2. Chapter 6: Quick start in Web application development
      1. Introduction
      2. Development environment setup (1/3)
      3. Development environment setup (2/3)
      4. Development environment setup (3/3)
        1. Setting up the development directory
        2. Setting up a new Web project
        3. Setting up a new server project to run the sample code
      5. Developing sample code with the Java OOAPIs (1/9)
      6. Developing sample code with the Java OOAPIs (2/9)
      7. Developing sample code with the Java OOAPIs (3/9)
      8. Developing sample code with the Java OOAPIs (4/9)
      9. Developing sample code with the Java OOAPIs (5/9)
      10. Developing sample code with the Java OOAPIs (6/9)
      11. Developing sample code with the Java OOAPIs (7/9)
      12. Developing sample code with the Java OOAPIs (8/9)
      13. Developing sample code with the Java OOAPIs (9/9)
        1. Adding the common files to the Web project
        2. Working with attributes
        3. Working with item types
        4. Working with items
      14. Conclusion
    3. Chapter 7: Building a generic application
      1. Introduction
      2. Development environment setup
      3. Sample application (1/10)
      4. Sample application (2/10)
      5. Sample application (3/10)
      6. Sample application (4/10)
      7. Sample application (5/10)
      8. Sample application (6/10)
      9. Sample application (7/10)
      10. Sample application (8/10)
      11. Sample application (9/10)
      12. Sample application (10/10)
        1. How to get the most benefit from this chapter
        2. Set up and run the sample application
        3. Import the beans into the code
        4. The Controller program: RBController
        5. Listing available servers: CMBConnection
        6. Connecting to server: CMBConnection, CMBConnectionPool
        7. Schema: CMBSchemaManagement
        8. Listing entities: CMBEntity
        9. Listing search templates: CMBSearchTemplate
        10. Listing attributes: CMBAttribute
        11. Listing search criteria: CMBSTCriterion
        12. Sorting arrays of beans
        13. Conducting a search: CMBQueryServices
        14. Processing search results: CMBSearchResults
        15. Representing items: CMBItem
        16. Displaying item information
        17. Managing content: CMBDataManagement
        18. Viewing content: CMBDocumentServices
        19. Content Manager Version 8 Document Routing system
      13. Conclusion
    4. Chapter 8: Building a case study application
      1. Introduction
      2. Application framework description
      3. Development environment setup (1/2)
      4. Development environment setup (2/2)
        1. Create a new EAR and WAR project
        2. Set up the Java build path and required libraries
        3. Create a server project to run the sample code
        4. Create the basic framework setup
      5. Login use case (1/5)
      6. Login use case (2/5)
      7. Login use case (3/5)
      8. Login use case (4/5)
      9. Login use case (5/5)
        1. Use case description
        2. Design
        3. Model layer implementation
        4. Session bean implementation
        5. Controller layer implementation
        6. View layer implementation
        7. Test
      10. Building permit application approval process use case (1/15)
      11. Building permit application approval process use case (2/15)
      12. Building permit application approval process use case (3/15)
      13. Building permit application approval process use case (4/15)
      14. Building permit application approval process use case (5/15)
      15. Building permit application approval process use case (6/15)
      16. Building permit application approval process use case (7/15)
      17. Building permit application approval process use case (8/15)
      18. Building permit application approval process use case (9/15)
      19. Building permit application approval process use case (10/15)
      20. Building permit application approval process use case (11/15)
      21. Building permit application approval process use case (12/15)
      22. Building permit application approval process use case (13/15)
      23. Building permit application approval process use case (14/15)
      24. Building permit application approval process use case (15/15)
        1. General use case description
        2. RedBrook DB2 legacy system setup
        3. Content Manager definition setup
        4. Create building permit application folder use case
        5. Process building permit application folder use case
        6. Document import use case
      25. External application (1/2)
      26. External application (2/2)
        1. Internet sample application use cases
        2. Framework file descriptions
        3. Import Internet sample application WAR file
        4. Testing
      27. Conclusion
    5. Chapter 9: Adding text search capability
      1. Introduction
        1. Text search syntax
      2. Start Content Manager text search service
      3. System setup (1/2)
      4. System setup (2/2)
      5. Integrating the text search module with the Web application (1/3)
      6. Integrating the text search module with the Web application (2/3)
      7. Integrating the text search module with the Web application (3/3)
      8. Conclusion
    6. Chapter 10: Adding document rendering capability
      1. Introduction
        1. Viewer architecture
      2. Integrating the viewer toolkit (1/3)
      3. Integrating the viewer toolkit (2/3)
      4. Integrating the viewer toolkit (3/3)
        1. Environment setup
        2. Import the necessary viewer toolkit files
        3. Implement code changes to use the viewer toolkit
        4. Run and test the viewer functionality
        5. Viewer toolkit certificates
      5. Conclusion
  5. Part 3: Developing OnDemand Web applications
    1. Chapter 11: Web enabling OnDemand
      1. Introduction
        1. OnDemand Web Enablement Kit
        2. ODWEK platforms and Web environments
      2. ODWEK samples
        1. CGI and servlet HTML samples
        2. ODWEK documentation
        3. Viewing and transforming documents
      3. Comparing ODWEK to Information Integrator for Content (1/2)
      4. Comparing ODWEK to Information Integrator for Content (2/2)
        1. API differences
        2. ODWEK
        3. eClient/Information Integrator for Content
        4. Viewing technology differences
        5. EBCDIC or transaction/line reports
        6. Viewing image data stored in OnDemand
        7. Xenos transforms
        8. IBM printing systems AFP2WEB transforms
      5. Comparing OnDemand clients (1/2)
      6. Comparing OnDemand clients (2/2)
    2. Chapter 12: ODWEK installation and configuration
      1. Installing CGI ODWEK on Windows (1/6)
      2. Installing CGI ODWEK on Windows (2/6)
      3. Installing CGI ODWEK on Windows (3/6)
      4. Installing CGI ODWEK on Windows (4/6)
      5. Installing CGI ODWEK on Windows (5/6)
      6. Installing CGI ODWEK on Windows (6/6)
        1. Installing Java Runtime Environment (JRE)
        2. Installing IBM HTTP server
        3. Installing ODWEK base code
        4. Installing ODWEK releases, modifications, and PTFs
        5. Configuring HTTP and ODWEK
        6. Testing CGI ODWEK
      7. Line data applets
      8. Installing the ODWEK servlet on Windows (1/6)
      9. Installing the ODWEK servlet on Windows (2/6)
      10. Installing the ODWEK servlet on Windows (3/6)
      11. Installing the ODWEK servlet on Windows (4/6)
      12. Installing the ODWEK servlet on Windows (5/6)
      13. Installing the ODWEK servlet on Windows (6/6)
        1. Installing Java Runtime Environment (JRE)
        2. Installing WebSphere Application Server 5.0 for Windows
        3. Installing the ODWEK servlet
        4. Installing ODWEK servlet fixes
        5. Copying files
        6. Setting up the system environment
        7. Assembling the servlet
        8. Deploying the ODWEK servlet
        9. Customizing arswww.ini
        10. Testing the ODWEK servlet
        11. Customizing IBM HTTP server
        12. Customizing ODWEK
        13. Testing the sample application
      14. Conclusion
    3. Chapter 13: Building a Web application with ODWEK APIs
      1. ODWEK Java APIs overview
        1. ODServer class
        2. ODFolder class
        3. ODCriteria class
        4. ODHit class
      2. Set up development environment
      3. Developing the sample Web application (1/4)
      4. Developing the sample Web application (2/4)
      5. Developing the sample Web application (3/4)
      6. Developing the sample Web application (4/4)
        1. The RBMgrServlet implementation details
        2. Login and logoff
        3. Retrieving OnDemand folders
        4. Retrieving OnDemand folder reports
      7. Packaging and deploying Web applications
      8. Running the sample Web application
      9. Conclusion
  6. Part 4: Appendixes
    1. Appendix A: Setting up case study infrastructure
      1. Set up RedBrook County legacy database system
      2. Set up Content Manager system
      3. Configuration scripts
      4. Content Manager System Administration UI (1/2)
      5. Content Manager System Administration UI (2/2)
      6. Set up OnDemand system
      7. Set up WebSphere Studio Application Developer
      8. Getting familiar with project files
      9. Set up Config.properties files
      10. Run the Web sample applications
      11. Navigate the Web sample application
      12. Internal application navigation (1/3)
      13. Internal application navigation (2/3)
      14. Internal application navigation (3/3)
      15. External application navigation
      16. Redbrook County legacy system database schema
      17. Content Manager system definition
      18. OnDemand system definition
      19. Property Owner folder
      20. Permits
      21. Tax Information folder
      22. Attributes mapping among DB2, OnDemand, and CM
    2. Appendix B: Sample code
      1. Quick start sample code (1/3)
      2. Quick start sample code (2/3)
      3. Quick start sample code (3/3)
      4. Generic Web application sample code (1/6)
      5. Generic Web application sample code (2/6)
      6. Generic Web application sample code (3/6)
      7. Generic Web application sample code (4/6)
      8. Generic Web application sample code (5/6)
      9. Generic Web application sample code (6/6)
      10. Building permit application folder use case (1/2)
      11. Building permit application folder use case (2/2)
    3. Appendix C: Additional material
      1. Locating the Web material
      2. Using the Web material
      3. System requirements for downloading the Web material
  7. Related publications
    1. IBM Redbooks
    2. Other publications
    3. Online resources
    4. How to get IBM Redbooks
    5. Help from IBM
  8. Index (1/3)
  9. Index (2/3)
  10. Index (3/3)
  11. Back cover

Product information

  • Title: Implementing Web Applications with CM Information Integrator for Content and OnDemand Web Enablement Kit
  • Author(s): Wei-Dong Zhu, Javier Almaraz, Gordon Campbell, Hanaa Hammad, Nirva Morisseau-Leroy, Bud Paton
  • Release date: August 2004
  • Publisher(s): IBM Redbooks
  • ISBN: None

You might also like

book

WebSphere Application Server V8.5 Concepts, Planning, and Design Guide

by Jan Bajerski, Davide Barillari, Libor Cada, Susan Hanson, Guo Liang Huang, Rispna Jain, Shishir Narain, Jennifer Ricciuti, Christian Steege

This IBM® Redbooks® publication provides information about the concepts, planning, and design of IBM WebSphere® Application …

book

Customizing and Extending IBM Content Navigator

by Wei-Dong Zhu, Tomas Barina, Yi Duan, Nicole Hughes, Marcel Kostal, Chad Lou, Brett Morris, Rainer Mueller-Maechler, Ron Rathgeber, Jana Saalfeld, Jian Xin Zhang, Jie Zhang

IBM® Content Navigator provides a unified user interface for your Enterprise Content Management (ECM) solutions. It …

book

WebSphere Application Server V6.1 Problem Determination: IBM Redpaper Collection

by Carla Sadtler, Gustavo Cezar de Medeiros Paiva, John Szuch, Wendy Conti, Jasper Chui, Craig Scott, Giribabu Paramkusham, Robert Larsen, Richard Coppen, Gareth Bottomley, Brian De Pradine, Sarah Drewery, Graham Hopkins, Philip Nickoll, Alasdair Nottingham, Matthew Roberts, Dave Vines, David Ware, Bryan Williams

This IBM Redbooks publication is a collection of previously published Redpapers. This publication allows for easy …

book

IBM Content Manager OnDemand Guide

by Wei-Dong Zhu, Jim Ilardi, Deborah Matamoros, Trina D Morgans, Paula Muir, Hassan A Shazly, Edward E Stonesifer, Vanessa T Stonesifer, Sebastian Welter

This IBM® Redbooks® publication provides a practical guide to the design, installation, configuration, and maintenance of …