Jun Qian (钱骏) 's Weblog

Saturday Jul 14, 2007

Screencast: Environment Variable Support in NetBeans 6.0 SOA Pack

JBI Binding Components support environment variables. There are a couple of use cases for the environment variables.

The first one is for password protection. You don't want to save your password in clear text in your WSDL files, do you? For more background info about this, check out this wiki page.

The second use case is to "virtualize" your project's concrete WSDL and delay the decision making until deployment time. A typical example would be the use of a File Binding Component. If you introduce some environment variable like the following example, you can deploy the same composite application to a Windows or a Unix platform without any modification.

     <service name="Service1">
        <port name="Port1" binding="tns:Binding1">
            <file:address fileDirectory="${myDir}"/>
        </port>
    </service>

Currently, four types of environment variables are supported. They are: STRING, NUMBER, BOOLEAN and PASSWORD.

The following screencast shows the usage of environment variables in NetBeans 6.0 SOA Pack.

Comments:

good.. Blog

Posted by se on July 14, 2007 at 04:15 AM PDT #

good
blog

Posted by se on July 14, 2007 at 04:17 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Archives
Links
Referrers