Skip to end of banner
Go to start of banner

Defining Applications

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

To define the business context you need to open the Business Context Manager. Therefore, navigate to the Configuration Perspective and select the Business Context Manager tab:

Creating an Application Definition

The Business Context Manager view shows a list of defined applications with the number of Business Transactions and a Description. Per default, there is one immutable application called Unknown Application. The Unknwon Application is a placeholder for requests that cannot be mapped to any other applications.

 

To create a custom Application Definition click on the Create Application button () in the toolbar of the Business Context Manager. A dialog pops up asking for some information for the new application:

  • Name: The name of the new application. Providing an application name is mandatory and application names must be unique! 
  • Description: This is an optional field that allows for providing a description for the application.
  • Insert Before: This value specifies where the new application should be positioned in the list of available applications. Section The Order of Application Definitions describes why the order of applications matters!

Defining Application Mapping

Once an application is created, the next step is to define matching rules that determine when user requests shall be assigned / mapped to the created application. Therefore, open the Application Definition Editor by double-clicking on the corresponding application in the Business Context Manager.

Then, add a new matching rule by selecting the desired rule type in the context menu of the Add New Rule toolbar button (). In the following example we use HTTP URI Matching. The HTTP URI Matching rule allows to define a mapping based on the URI of a request. In this example, a request is assigned to the DVDStore application if the URI of the request starts with the string "/dvdstore/".

Besides the HTTP URI Matching rule there are also other matching rules.
The Specifying Matching Rules page describes in more detail how to specify matching rules.

 

The Order of Application Definitions

The order of application definitions in the Business Context Manager plays an important role, if applications are not strictly separated.

When requests are evaluated to find the application they should be assigned to, the application definitions are processed in the same order as shown in the Business Context Manager. If the evaluation identifies a matching application for a request, all subsequent application definitions are not considered anymore for the corresponding request. This is not a problem if the matching rules of the differnet application definitions are unabiguous. However, if this is not the case and the rules of one application definition cover the rules of another application definition, then the order of application definitions is important. 

Good Practice

Position applications with rather generic rules below application definitions with rather specific rules!

Example

 

 

Data View after application definition

 

 

 

 

  • No labels