My favourite – software

System Software Engineering

Steps to write RELM View and Query

Here are steps to develop RELM View and Query.

  1. Write a mock-up of View you want to see
  2. Investigate the data are accessible by LQE
  3. Investigate predicate for SPARQL query
  4. Write SPARQL
  5. Execute SPARQL
  6. Fix Container
  7. Modify Node/UI Type
  8. Write Connection
  9. Execute View
  10. Consider the usage of Jazz Reporting Service (JRS) ( v5.0.2 or later)

If you are interested in these steps, please refer to RELMViewDevelopment_EN_Sanitized ( This is a PDF file )


Tips : Rational Engineering Lifecycle Manager View performance – Tree Container

if your Rational Engineering Lifecycle Manager(RELM) View is slow, and it uses a Tree Container, please check …

  1. How many Tree Containers are used ?
  2. What value is set for “expandDepth” ?
  3. What SPARQLs are used to find out the top node and its children in tree containers ?

These values affect the performance because the number of SPARQL calls are calculated by

  • the number of Tree Containers X (the value of “expandDepth” + 1)

For example, if there are 10 Tree Containers, and the value of “expandDepth” is “2”, then the number of SPARQL calls is

  • 10 x (2+1) = 30

If the average of the assigned SPARQL execution time is 0.5sec,  15sec(30×0.5 = 15) is spent by only SPARQL execution. In order to draw the view, not only SPARQL execution time but also Web Browser rendering time and the network communication time are necessary, so we can guess the performance is over 15sec, like 20sec.

In this case, we need to consider

  • Remove the number of Tree Containers
  • Reduce the value of “expandDepth”
  • Improve SPARQL itself

That should help to improve the performance.

Rational Engineering Lifecycle Manager view is slow ? Please …

If you will try to run Rational Engineering Lifecycle Manager(RELM) view and see some performance concern, please try to see its Query performance. There are two easy ways


Firebug is a popular and useful tool to debug the web application. One of its functions is to watch the network activities. Please take a look at the following picture.


If you click “Net” > “All” tabs, you will see all HTTP requests, such as GET and POST. The key request is “POST /relm/relmui/query/”. This is a request to execute SPARQL Query and this will tell us how much time is spent to process SPARQL query from a client(web browser) point of view. If you will see a query which spends a long time, that query would be a target to be improved. If you open a “+” sign in “POST /relm/relmui/query/”, you will see HTTP Headers, Post and Response so that you will see what SPARQL is called.

Lifecycle Query Engine(LQE) Admin UI

Also LQE provide its statistics and one of this information is SPARQL query execution time. If you will click LQE Administration> Statistics, you will see “Statistics” page. Then if you will click “View As List” in a row of “Completed Queries”, you will see the following list.


This is similar to what you saw in Firebug, but this is based on a server side(LQE) point of view and you will see which query takes a long time. If you will click “More Details” link, you will see


This will an exact SPARQL query to be executed. You can copy it and execute it from RELM Query page.

Easy ? Rational Engineering Lifecycle Manager View development

From Rational Engineering Lifecycle Manager(RELM) ver 5.0, the drag and drop style View development capability is introduced. This is called as Artifact Element (AE). Please take a look at the following Youtube movie.


Looking for some movies of Rational Engineering Lifecycle Manager ?

There are several demo movies for Rational Engineering Lifecycle Manager at Youtube.

However, they are a little bit old ( for RELM version 4.0.3 ) and long. The short movies are :

I hope they will help you to see what is RELM and how you can use it.

Another OSLC workshop

I’ve just found out that Eclipse Working Groups provided OSLC workshop. This workshop is based on the old OSLC workshop ( ) but the workbooks and the code seems to be enhanced. If you are interested in it, please try it out at

Workbooks for Innovate 2014 at Orlando

We held Tracked Resource(TRS) Workshop at Rational Innovate 2014 Conference at Orlando on June 4.

In this workshop, we used two workbooks

  • Workshop for Tracked Resource Set Reference Application

This workshop is suitable for those who would like to study mainly TRS adapter implementation since this reference application is very simple while it provides two types of the implementation ( JAX-RS and Servlet ), the test suite as well as the simple application to generate and verify TRS resource data. Since this application provides only TRS adapter, this workbook covers the integration with RELM’s Query capability.

Please refer to in detail. The PDF version of the workbook is available at its source code repository.

  • Workshop for Bugzilla Tracked Resource Set Reference Application

This workshop is suitable for those who would like to study much realistic TRS Adapter implementation. This reference application implements not only TRS adapter but OSLC Change Management(CM) adapter, and uses Bugzilla as the resource data provider. This reference application provides TRS adapter based on JAX-RS, OSLC CM adapter, OAuth authentication, OSLC small and large preview as well as delegated UIs so that it can be fully integrated with Rational Team Concert (RTC) and Rational Engineering Lifecycle Manager. This workbook covers the integration with RTC and RELM too.

Please refer to in detail. The PDF version of the workbook is available at its source code repository.

Lyo 2.1.0 is available

Lyo 2.1.0 is now available. 2.1.0 is an incremental release with the following several enhancements

  1. A sample OSLC Automation provider for Hudson written as a plugin
  2. OSLC test suites driven by resource shapes, greatly reducing the amount of configuration
  3. New user interfaces for change management, quality management, and automation OSLC reference implementations

The release doc is available at :

You can download Lyo 2.1.0 at :

Are you looking for the information about how to develop Views in Rational Engineering Lifecycle Manager ?

The good articles are available. Please check the following links.

Lyo 2.0 now available!

I’m happy to hear that Eclipse Lyo 2.0 is released. One of its new and noteworthy is TRS SDK and its reference implementations.  If you would like to learn TRS,  TRS Workshop is available.