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 developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

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:  18363 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



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

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=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers