IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

SCA Component for Ruby with IBM WebSphere Process Server

A prototype that provides the capability of implementing an SCA component as a Ruby script and invoking it using the BSF functionality provided by JRuby.


Date Posted: December 14, 2006
OverviewRequirements Download FAQs Forum Reviews

What is SCA Component for Ruby with IBM WebSphere Process Server?

This prototype provides the capability of implementing an SCA (Service Component Architecture) component as a Ruby script and invoking it using the Bean Scripting Framework (BSF) functionality provided by JRuby. This SCA component uses the SCA extension capabilities to create a new implementation (similar to the BPEL implementation in WebSphere® Process Server).

With the popularity of Ruby, it is easy to imagine users developing their implementations in Ruby in order to exploit the advantages provided by the scripting language. This prototype provides a simple mechanism for developing a component implementation with simple Ruby scripts.

How does it work?

The developer must create a Ruby component following the SCA programming model. The developer first writes a schema file to define a component; then the component file in this scenario takes the location of the Ruby script as a parameter. Next, the developer can create an implementation in Ruby script, which then implements a Java interface (the capability of implementing a Java interface is provided by JRuby, the Java interpreter for Ruby). After the component is ready, the developer can invoke it using the standard client API as defined by SCA.


About the technology author(s):
Srikanth Bhattiprolu, a software engineer, has been working at IBM since 2002. Currently, as a developer on the WebSphere Process Server team, he works on Network Deployment (ND) configurations for WPS. Previously, he was part of the SCA development team during the 6.0 and 6.0.1 releases.

View screenshots:
MyValue sample.

Download now Download now

Related technologies

For platform(s):
Windows

For topics:
Eclipse, Java technology, Ruby, Web services, Websphere


 

    About IBM Privacy Contact