Step 4: Defining a deployment target

It is quite common in a client implementation to have different environments for development, test, and production. These different environments can be modeled in Infor e-Commerce Development Studio with the use of deployment targets. Each deployment target defines the application server, database, and Web server hosts for a certain setup. This way, by simply changing targets, the user can deploy the same application code to different environments, one after the other, and synchronize them all.

To define a deployment target

  1. Open the Deployment Settings window. Select Infor e-Commerce Development Studio > Deployment Settings. Or in the toolbar, click Deployment Settings.
  2. Click New.
  3. Type the following:

    Target Name

    Enter a name for the target. This name identifies the target when you use the Deploy... function.

    URL

    Enter the local path (from the application server root) to the Infor Application Installer servlet. Using the default installation settings for the servlet, this will be publish/PublishServlet.

    Server Name

    Enter the name for the server. To deploy to a local IBM WebSphere installation, you can set this to "localhost". To deploy to a remote host, enter the server name (for example, www.mysite.com).

    Port

    Enter the communication port over which the Infor Application Installer servlet communicates. The default installation setting for the servlet is port 9080.

    Web Server Name

    Enter the name of the web server configuration to which the application is to be mapped. The name is given when the web server plug-in is installed. If you choose not to specify a value — leaving this field empty — no web server mappings are made.

    Any change in the Web Server Name value only has an effect if the application is re-deployed.

    User Name

    Enter the name of the WebSphere admin user. This was specified on the WebSphere Server Information page during IAI installation (see the section "Installing the Infor Application Installer" in theInfor e-Commerce Development Studio Installation Guide.)

    Password

    Enter the password for the WebSphere admin user account specified above.

  4. You can choose to Disable error handler. If checked, this setting is equivalent to specifying No error handler for all pages. It makes it possible to have a "Debug" Deployment Target where no error handler page is used, and a "Live" Deployment Target where an error handler page is used according to the page property setting.
  5. Click OK.