Using the File Binding Component in a Project

Runtime Configuration

The File Binding Component's runtime properties can be configured from the NetBeans IDE, or from a command prompt (command line interface) during installation.

The File Binding Component properties apply to the binding component as a whole, including all provider and consumer endpoints.

ProcedureAccessing the File Binding Component Runtime Properties

  1. From the Services tab of the NetBeans IDE, expand the Servers node.

  2. Start your application server, for example GlassFish V2. To do this, right-click your application server and select Start from the shortcut menu.

  3. Under the application server, expand the JBI-> Binding Components nodes and select sun-file-binding.

    The current File Binding properties are displayed at the right side of the NetBeans IDE. You can also double-click sun—file—binding to open the Properties window.

    Edit the properties as needed. To apply any changes you make to the Application Configuration and Application Variables properties, shut down and restart the affected composite applications, Any changes in the "Threads" count property will be applied dynamically without restarting the File Binding Component. Any changes to the component Logger setting will be applied dynamically without restarting the File Binding Component.

The File Binding Component Runtime Properties

The File Binding runtime properties are categorized into three types:

General Properties

Name

Description

Default Value

Description 

Indicates the purpose of the File Binding Component. This property is displayed for reference purpose. 

Java Enterprise Edition File Binding 

Name 

Indicates the name of the File Binding Component. This property is displayed for reference purposes. 

sun-file-binding 

State 

Indicates the state of the File Binding Component as "Started" or "Stopped." This property is displayed for reference purposes. 

Started 

Type 

Indicates the type of component. This property is displayed for reference purposes. (service-engine or binding-component) 

binding-component 

Identification Properties

Version 

File Binding Component specification fully supported by this build. 

<number-version 

Build Number 

Date and time stamp for the current build. 

<build_number> 

Configuration Properties

Number of Outbound Processor Threads 

Specifies the maximum number of threads to process outbound HTTP/SOAP invocations concurrently. The value can be any integer from 1 to 2147483647. This is a required property. 

Application Configuration 

Specifies the values for a Composite Application's endpoint connectivity parameters (normally defined in the WSDL service extensibility elements), and 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.  

User defined 

Application Variables 

Specifies a list of name: value pairs for a given stated type. The application variable name can be used as a token for a WSDL extensibility element attribute in a corresponding binding.  

The Application Variables configuration property offers four variable types: 

  • String: Specifies a string value, such as a path or directory

  • Number: Specifies a number value

  • Boolean: Specifies a Boolean value

  • Password: Specifies a password value

User defined 

Statistics Properties

Statistics properties include 19 different component activities including exchanges, errors, requests, replies, and so forth. It lists component statistics that are collected for actions such as endpoints activated, average response time, completed exchanges, and so forth. Running statistics are automatically collected and displayed

Loggers Properties

Loggers properties include 13 different component activities that can be recorded by the server.log. The Logger properties specify the user-designated level of logging for an event.

Each logger can be set to record information at any of the following levels: