Index Changes

Using the HTTP Binding Component


Using Application Configuration to Configure Connectivity Parameters

The Application Configuration property allows you to configure the external connectivity parameters for an application that you have created, such as a service assembly, and without changing or rebuilding the application, deploy the same application into a different system. For example, you could take an application that is running in a test environment, and deploy it to a production environment without rebuilding the application.

From the Application Configuration property, you can specify values for a Composite Application's external connectivity parameters, which are normally defined in the WSDL service extensibility elements. You can then apply these values to a user-named endpoint ConfigExtension Property. The Application Configuration property editor includes fields for all of the connectivity parameters that apply to that component's binding protocol. When you enter the name of a saved ConfigExtension and define the connectivity parameters in the Application Configuration editor, these values override the WSDL defined connectivity attributes when your project is deployed. To change these connectivity parameters again, you simply change the values in the Application Configuration editor, then shutdown and start your Service Assembly to apply the new values.

The Application Configuration property editor allows you to create several application configurations referenced by their own user-defined names. Note that different binding component protocols will have different attributes. The HTTP binding attributes are not the same as the JMS binding attributes, and therefore, the Application Configuration property editors for each of these binding components will contain different attributes.

To change a property when the application is running, change your Application Configuration property value, then right-click your application in the Services window under Servers > GlassFish > JBI > Service Assemblies, and click Stop in the popup menu. When you restart your project, your new settings will take effect.

The HTTP Binding Component's Application Configuration property contains one parameter only: HTTP URL Location.

To apply a named ConfigExtension to the Application Configuration

  1. In the CASA editor, specify a name for your endpoint Configuration Extension , from the endpoint's Configuration Extension property.
  2. In the Services window, go to the Binding Components directory under the JBI node, right-click the binding component used by your application, and select Properties.
    The Properties window appears.
  3. In the binding component's properties, click on the Application Configuration property ellipsis (...) button.
    The Application Configuration property editor appears.
  4. Enter the user-defined name of the ConfigExtension you want and define the values for the connection parameters.
  5. Once the Application Configuration values have been defined, deploy your application.


JSPWiki v2.4.100
« Home Index Changes Prefs
This page (revision-8) was last changed on 08-May-09 15:45 PM, -0700 by rjacobus