Binding Web modules to virtual hosts

 

Overview

Web modules must be bound to specific virtual hosts. By associating a Web module to a specific host, you are specifying that all requests that match this virtual host must be handled by the Web application containing the binding.

 

Procedure

  1. Start the Application Server Toolkit.

  2. Optional: Open the J2EE perspective to work with J2EE projects. Click Window > Open Perspective > Other > J2EE.

  3. In the J2EE view, select the Web module to open its deployment descriptor.

  4. On the Overview page, find the WebSphere bindings section.

  5. Specify the virtual host name.

  6. Save the deployment descriptor.


 

See Also


Application bindings

 

Related Tasks


Define data sources for entity beans
Binding EJB and resource references