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]

Accessing federated databases with application server components

Cynthia M. Saracco (saracco@us.ibm.com), Senior Software Engineer, EMC
photo: Cynthia Saracco
Cynthia M. Saracco works on database management and XML technologies at IBM's Silicon Valley Lab. She has co-authored three books and taught university-level courses on various software technologies.
(An IBM developerWorks Professional Author)
Tim Rieger, Student, University of Rostock, Germany
Tim Rieger is a student of Business Informatics at the University of Rostock, Germany. He recently completed an internship at IBM's Silicon Valley Laboratory, where he researched issues involving entity EJBs and database management systems.

Summary:  This article describes how a federated DBMS, such as DB2 Information Integrator, and Web application server technologies can be combined to provide Java developers with new options for integrating data from a variety of sources.

Date:  04 Feb 2003
Level:  Introductory

Activity:  1365 views
Comments:  

This article describes how a federated DBMS, such as DB2® Information Integrator, and Web application server technologies can be combined to provide Java™ developers with new options for integrating data from a variety of sources.

In this article

  • Introduction to key technologies
  • Software architecture involving WebSphere and IBM federated technology
  • Creating a session bean to access federated data
  • Working with federated data and CMP entity beans
  • Creating a CMP entity bean for an existing nickname
  • Creating a CMP entity bean for a new nickname
  • Creating a CMP entity bean spanning multiple data sources
  • Using SQLJ code in CMP entity beans
  • Creating a Web service to access federated data
  • Tips for successful deployment

Overview

This article describes how Java developers can employ federated database management technology to expand the reach of the server-side components they build. Techniques discussed illustrate how Java developers can transparently work with multiple data sources without installing a variety of client software, establishing direct connections to these data sources, or possessing detailed knowledge about the differences between these data sources. With federated database technology, Java developers can create components that join or union data from multiple sources, including container-managed entity Enterprise JavaBeans (EJBs).


Download

DescriptionNameSizeDownload method
Article in PDF format0302saracco.pdf128KBHTTP

Information about download methods          Get Adobe® Reader®


Resources

Learn

Get products and technologies

  • Build your next development project with IBM trial software, available for download directly from developerWorks.

Discuss

Biographies

photo: Cynthia Saracco developerWorks Professional author level

Cynthia M. Saracco works on database management and XML technologies at IBM's Silicon Valley Lab. She has co-authored three books and taught university-level courses on various software technologies.

Tim Rieger is a student of Business Informatics at the University of Rostock, Germany. He recently completed an internship at IBM's Silicon Valley Laboratory, where he researched issues involving entity EJBs and database management systems.

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
ArticleID=208697
SummaryTitle=Accessing federated databases with application server components
publish-date=02042003
author1-email=saracco@us.ibm.com
author1-email-cc=
author2-email=dwinfo@us.ibm.com
author2-email-cc=