Skip to main content


developerWorks  >  Open source  >

Using the Eclipse SOA Tools Platform plug-in and Apache Tuscany

Developing an SCA Java RMI service

developerWorks

Level: Intermediate

Tyler Anderson (tyleranderson5@yahoo.com), Freelance writer, Backstop Media

27 Nov 2007

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

The Eclipse SOA Tools Platform (STP) plug-in and Apache Tuscany simplifies services development through the use of the popular Eclipse development environment. Apache Tuscany has also been integrated with the STP to provide a Service Component Architecture (SCA) Java™ run time for the services you create, allowing you to annotate your service using the SCA standard and Apache Tuscany annotations. In this tutorial, you will see STP and Apache Tuscany in action, through the creation of a Remote Method Invocation (RMI) service.

In this tutorial

An essential characteristic of SOA is the ability to assemble new and existing services to create new applications that may consist of different technologies. SCA defines a simple service-based model for construction, assembly and deployment of network of services that is language-neutral. Apache Tuscany effectively provides developers with an SCA Java run time by allowing Eclipse developers (Eclipse STP developers, in this case) to use SCA in the development of Java service components in an SOA environment.

In this tutorial, you're going to build an RMI-based service that will be registered in the server's RMI naming registry. You'll build the service according to the SCA specification, implemented via Apache Tuscany, that will become part of your overall SOA solution. You will learn:

  • How SCA ties into SOA

  • How to install the Eclipse STP and Apache Tuscany run time

  • How to create an SOA Tools SCA RMI-based service

  • How to develop the services Time Bomb functionality

  • How to create and develop a Java RMI client

  • How to run and test the RMI service

Prerequisites

See Sysem requirements below.


System requirements

This tutorial uses Eclipse and Apache technologies for development with the STP plug-in:

Eclipse Classic
Eclipse is the master platform upon which the Eclipse SOA Tools plug-in runs on. V3.3.1 was used in this tutorial.
Eclipse STP and dependency plug-ins
These are the core plug-ins you'll need to develop with the STP. This tutorial uses version I200710300730. There are several plug-ins available for download, so be sure to download the one with the stp-all-in-one- suffix. This download includes all the dependencies listed under the "Requirements" heading.
Apache Tuscany SCA Java
Apache Tuscany contains the Java SCA implementation that the Eclipse STP plug-in utilizes in development of services using the SCA standard.


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


My developerWorks needs you!

Connect to your technical community