IBM EAD4J Jade - 1.0

Extension ID


What’s new?

Please see IBM EAD4J Jade - 1.0 - Release Notes  for more information.

In what situation should you install this extension?

If your JEE application source code uses the IBM EAD4J Jade framework you should install this extension.

This extension creates EAD4J.JADE Operation objects which represent entry-points for web services. For each operation, an Operation object of type Any is created (this can receive all kinds of HTTP requests). For example:

Application configuration

In the “web.xml” file, the extension takes into account only servlets pointing to a class which inherits directly (or not) from The servlet mapping (url-pattern) is identified. For example:

<web-app xmlns:xsi="" xmlns="" xsi:schemaLocation="" id="WebApp_ID" version="3.1">



The following files are taken into account:


The name of the file is not important, but it must contain the “/appl-config” xpath. This file also contains the application name and the URL to access the application:



The name of the file is not important, but it must contain the “/actionHandler-config” xpath:

  • actionHandler-name is the part of the url after “jadeAction=”. See following example screenshot.
  • actionHandler-class is the class whose method will be called.


Application analysis

The extension will take into account:

  • Actions inheriting from (actionHandler.xml)
  • Servlets inheriting from (web.xml)

Operation creation

  • The application-config.xml file provides the application url which will be the start of the operation url (in the examples above this is “/euam”).
  • In actionHandler.xml, provides the jadeAction parameter url part (in the examples above this is “/euam?jadeAction=ADD_ADDITIONAL_LANGUAGE_ACTION_HANDLER”), with the associated class (in the examples above this is “com.att.uam.ui.jade.action.AddAdditionalLanguageActionHandler”).
  • In web.xml, provides the url mapping. The extension retains the mappings corresponding to classes inheriting from You will see this mapping when tapping the F12 key when any CAST_EAD4J_Operation object is selected in CAST Enlighten.

The class is taken into account if it inherits from (directly or not), and the method whose return type is “” (in the examples above this is execute_startAction) will be selected.

public class AddAdditionalLanguageActionHandler extends StartTaskActionHandler{

    public ResultBean execute_startAction(ResultHandler handler, Parameters params, JadeSession jadeSession)
            throws ProcessException, ResultBeanException 

A callLink is created from the operation to the method.

Supported IBM EAD4J Jade framework items

  • Actions inheriting from (actionHandler.xml)
  • Servlets inheriting from (web.xml)

Function Point, Quality and Sizing support

This extension provides the following support:

  • Function Points (transactions): a green tick indicates that OMG Function Point counting and Transaction Risk Index are supported
  • Quality and Sizing: a green tick indicates that CAST can measure size and that a minimum set of Quality Rules exist
Function Points
Quality and Sizing
(tick) (error)

CAST AIP compatibility

This extension is compatible with:

CAST AIP release Supported
8.3.x (tick)

Dependencies with other extensions

Some CAST extensions require the presence of other CAST extensions in order to function correctly. The IBM EAD4J Jade extension requires that the following other CAST extensions are also installed:

Note that:

  • when using the CAST Extension Downloader to download the extension and the Manage Extensions interface in CAST Server Manager to install the extension, any dependent extensions are automatically downloaded and installed for you. You do not need to do anything.
  • the JEE Analyzer is not a dependency, but since this extension is always installed with AIP, you do not need to do anything.

CAST Transaction Configuration Center (TCC) setup

If you are using the extension with CAST AIP ≥ 8.3.x, an IBM EAD4J specific setup is automatically imported when the extension is installed. These items will be available in the CAST Transaction Configuration Center:

Packaging, delivering and analyzing your source code

Once the extension is installed, no further configuration changes are required before you can package your source code and run an analysis. The process of packaging, delivering and analyzing your source code does not change in any way:

  • Package and deliver your application.
  • Analyze your delivered application source code.

Note that if your EAD4J.JADE resources (i.e. the configuration XML files) are present in a folder outside the WebContent folder, then following the packaging action in the CAST Delivery Manager Tool, you should investigate the corresponding JEE analysis units in the CAST Management Studio - check that in the Source Settings > Resources tab that there is an “include” entry in the “XML” section that points to a folder containing your resources:

What results can you expect?


The following objects are displayed in CAST Enlighten:

Icon Description

EAD4J.JADE Operation