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]

Push the limits of Java UDRs in Informix Dynamic Server V10

Extend IDS features with Java

Halit (Hal) M. Maner (hmaner@msystemsintl.com), Chief Technology Officer, M Systems International, Inc.
Halit (Hal) Maner is the President and Chief Technology Officer of M Systems International, Inc., a solutions developer based in the Research Triangle Park in North Carolina, USA. M Systems specializes in database application development and support, database administration, and network administration in the Windows, Unix, and Linux platforms. Hal is certified in Informix, DB2, and Microsoft SQL Server databases. He has a Bachelor's of Science in Automatic Control and Computer Engineering as well as an MBA, plus 22 years of experience as a programmer, DBA, software architect, and team leader.
Jean Georges Perrin has been involved in software engineering for the last decade, using many development languages ranging from Informix-4GL to Java, through Visual Basic, C, C++ and PHP. Jean Georges has been working on the Web and related technologies since 1994. He has been elected to the Board of Directors of IIUG since 2002. He headed various R&D and project lead positions and lives near Strasbourg, France, with his wife and two sons.

Summary:  Learn how to write server side Java™ code in the form of a User Defined Routine (UDR), running inside the Informix® Dynamic Server (IDS). Also, learn how to set up your project using modern tools such as Eclipse.

Date:  05 Oct 2006
Level:  Intermediate PDF:  A4 and Letter (1938 KB | 48 pages)Get Adobe® Reader®

Activity:  6353 views
Comments:  

Before you start

Learn what to expect from this tutorial, and the technical environment.

Introduction

Although IDS is one of the best general purpose and online transaction processing (OLTP) databases out there, you may need to extend its function set. IDS provides a very open interface for doing so: UDRs. UDRs can be developed in Java, making portability a non-issue, helping you benefit from your existing Java knowledge and letting you reuse libraries and components already available in your applications.

Objectives

In this tutorial, you first discover the fundamentals then directly jump to a real-life example. You also call your Java UDR from an Informix 4GL application. You then see how you can include this example into Eclipse, the famous development environment. Finally, you study the deployment strategy to use your UDR in production.


Prerequisites

It is assumed that you have development experience with IDS. No Java or Informix 4GL background is required.


System requirements

In this tutorial,you will use the following:

  • IDS V10.0.TC4
  • J2SE Development Kit (JDK) V5.0 (update 6)
  • and Eclipse V3.2 RC7

This example uses Windows XP, but the examples are easily portable to Linux or any other UNIX system.

1 of 11 | 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
ArticleID=165519
TutorialTitle=Push the limits of Java UDRs in Informix Dynamic Server V10
publish-date=10052006
author1-email=hmaner@msystemsintl.com
author1-email-cc=
author2-email=jgp@jgp.net
author2-email-cc=jgp@iiug.org

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).

Try IBM PureSystems. No charge.