Skip to main content


developerWorks  >  Open source | Information Management | SOA and Web services  >

Apache Derby resources from the Web services perspective, Part 1: Derby data as WS-Resources

developerWorks

Level: Intermediate

David Medinets (david.medinets@gmail.com), Freelance Writer, Eclectic Consulting

03 Oct 2006

Register now or sign in using your IBM ID and password.

As the world moves in the direction of service-oriented architecture (SOA), it becomes crucial that all of your resources are SOA friendly. That may mean they produce services, that they consume services, or that they are services. This three-part tutorial series looks at Apache Derby from the perspective of making it Web services-aware. Web services are stateless, but most applications are not. This tutorial, Part 1, shows you how to use WS-Resources to refer to Derby data and structures from within the inherently stateless environment of Web services.

Objectives

  • Learn how to take advantage of Apache Derby and Web services, and make your Derby database Web services aware.

  • Understand the core methods for making a persistent resource available that can be used to store information in an open and free way with the Web Services Resource Framework (WSRF).

Prerequisites

None.


System requirements

The examples in this tutorial use the Java™ platform (version 1.5 or higher preferred) in combination with the following tools:

  • Apache Tomcat: This server is used to contain the Web services that provide access to the Web resources.
  • Apache Derby: This database is used to hold information about a person. The Web service looks up information about any given Web resource in the database.
  • Apache WSRF: This framework greatly simplifies development of your Web resource.
  • Apache Ant: Ant is a build environment that takes a standard build file and runs the commands necessary to produce the final application.

The examples and guides in this tutorial are based on the above installation within a Microsoft® Windows® environment, although the principles can also be applied within a UNIX®/Linux® environment.



Duration

Under 2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


More in this series:
Apache Derby resources from the Web services perspective