Substitution variables let you set specific values for component properties for different environments.
You must be connected to an AS Java.
Open the Config View from Windows → Show View → Others →Deploy View → Config View.
To get an actual list of the substitution variables on the AS Java, choose with the quick info text Refresh.
To see the variable value, select the variable from the list.
...
1. Select the Substitution Variable node. The with the quick info text Add element becomes active.
2. Enter the appropriate values in the Substitution Property Name and Config Property Value fields.
3. Choose with the quick info text Add element and confirm your decision. This adds the variable as a node to the Substitution Variables list.
1. Select one or several substitution variables from the list. The with the quick info text Remove element becomes active.
2. Choose with the quick info text Remove element and confirm your decision.
The values of the substitution variables match your needs and the applications can behave accordingly.
The application X requires resource Y. Resource Y has different locations on the two server nodes as follows:
● On server node 1 it is located in directory server1/test1
● On server node 2 it is located in directory server2/test1
To minimize efforts, application X can refer to the location of resource Y as {Y_location}/Y. Using substitution variables you can give different values to the substitution variable {Y_location} for the two different nodes. For:
● Server node 1 it will be {Y_location} = server1/test1
● Server node 2 it will be {Y_location} = server2/test1
As a result, you have more freedom to manage your resources and at the same time you do not have to change the application before deploying it different on server nodes.