Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Develop applications using the IBM Enterprise Content Management Java APIs with IBM Rational Application Developer

A fast start to managing your enterprise content using the Java APIs for IBM Content Manager, IBM FileNet P8 Content Manager, and IBM Information Integrator Content Edition

Tony Hulme (tony_hulme@uk.ibm.com), Consulting IT Specialist, IBM
Author Photo: Tony Hulme
With more than 25 years of experience in IT, Tony Hulme is a certified IT Specialist in the Information Management brand of the IBM Software Business. Tony specializes in Enterprise Content Management solutions, where he has more than 15 years of experience.

Summary:  Get started with the following IBM® Enterprise Content Management (ECM) Java application programming interfaces (APIs): IBM Content Manager, IBM FileNet® P8 Content Manager, and IBM Information Integrator Content Edition. Set up the IBM Rational® Application Developer environment for each of the APIs covered, and start writing simple code to log on, search, retrieve, and view documents using each API.

Date:  17 Apr 2008
Level:  Intermediate PDF:  A4 and Letter (1350 KB | 34 pages)Get Adobe® Reader®

Activity:  32532 views
Comments:  

Before you start

About this tutorial

ECM solutions increasingly need to capture and manage all forms of unstructured content, such as images, forms, fax, office documents, e-mail, video, and audio. To be most effective, this content needs to be integrated across diverse business processes and applications such that it can be delivered on demand to users. This integration typically involves using the API of the ECM solution to allow for in-flight searching of relevant content. For example, you might want to search for all documents relating to the customer number the user is working with.

It is precisely this level of integration that this tutorial aims to cover. This is an introduction to programming for IBM ECM. This tutorial covers the Java API of the IBM Content Manager product, as well as the IBM FileNet P8 Content Manager product. In addition, the federated Java API of IBM Information Integrator Content Edition is covered — which is capable of accessing either repository (or both).

There are, of course, APIs other than Java, for example Web Services — which are not in the scope of this tutorial.


Prerequisites

This tutorial assumes that you are an experienced IBM Content Manager user or IBM FileNet P8 Content Manager user with Java application development experience using Rational Application Developer.


Required development platform

This tutorial is based on three software environments:

  • IBM Content Manager API
    • IBM Content Manager
    • IBM Rational Application Developer
  • IBM FileNet P8 Content Manager API
    • IBM FileNet P8 Content Manager
    • IBM Rational Application Developer
  • IBM Information Integrator Content Edition API
    • IBM Content Manager
    • IBM Information Integrator Content Edition
    • IBM Rational Application Developer

The software versions used are as follows:

  • IBM Content Manager
    • Microsoft® Windows® 2000 Server SP4
    • IBM WebSphere® Application Server 5.1.1.2
    • IBM Content Manager 8.3
  • IBM FileNet P8 Content Manager
    • Microsoft Windows 2003 Enterprise Server SP1
    • IBM WebSphere Application Server 6.2.0.13
    • IBM FileNet P8 4.0 Content Engine
    • IBM FileNet P8 4.0 Application Engine
  • IBM Information Integrator Content Edition
    • Microsoft Windows 2000 Server SP4
    • IBM WebSphere Application Server 5.1.1.2
    • IBM Content Manager 8.3
    • IBM Information Integrator Content Edition 8.3
  • IBM Rational Application Developer
    • IBM Rational Application Developer 7.0.0

Development scenario

The typical business context for a user who needs access to documents in the ECM repository is to show a list of all documents that relate to the entity they are currently working with, for example: customer, supplier, product, or project. From the list of matching documents, they then select one or more and choose to view them.

The application you will write satisfies these basic requirements by performing the following, using each API in turn:

  • Log-on to the repository
  • Perform a parametric search
  • Retrieve the results set
  • View the document metadata
  • View the documents

Important: The sample code in this exercise assumes that you will be retrieving “simple" documents, that is, single part document objects with no annotations. The ECM products do allow for a more complex content model, which is beyond the scope of this tutorial.

1 of 8 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management, Java technology, Rational
ArticleID=301559
TutorialTitle=Develop applications using the IBM Enterprise Content Management Java APIs with IBM Rational Application Developer
publish-date=04172008
author1-email=tony_hulme@uk.ibm.com
author1-email-cc=