You must deploy (also referred to as publish) your
modules to your test environment server before you can run and test
your mediation.
To deploy the module to the server:
- If you are in the Samples and Tutorials page of the Welcome,
click the Go to the Business Integration perspective icon in
the upper right corner of the page. The Business Integration perspective
opens. This is where you perform most of your development tasks in
WebSphere Integration Developer.
- Click the Servers tab. The Servers view opens, as
shown in the following figure:
- In the Servers view, right-click WebSphere Process
Server or WebSphere Enterprise Service Bus and
select Add and Remove Projects. The Add and Remove Projects
window opens, as shown here:
- In the Available projects list, select the HelloServiceApp
application.
- Click Add. The HelloServiceApp application
is added to the Configured projects list.
- Similarly add the HelloWorldMediationApp application
to the Configured projects list.
- Click Finish. The HelloServiceApp application
and the HelloWorldMediationApp application now both appear
under the expanded server in the Servers view, as shown in
the following figure:
- If the State column in the Servers view shows
this server is Stopped, right-click on the server and click Start.
Wait until the Servers view shows a state of Started. This
may take a few moments.
- Optional: The Server Logs view shows the
messages emitted by the server. Double-click the Server
Logs tab to give it focus and expand it to full size.
Scroll to the bottom to see the logged messages that the two applications
have started. Also notice that the bottom status line shows that the
server is started, as shown here:
- Optional: The Build Activities view shows
you the status of your projects, and after the initial association
of a project with a server, it is a good place to do subsequent publishes
after making changes. Click the Build Activities tab and expand Project
Status to ensure your projects display a status of Ready to
run, as shown in the following figure:
In the future, to quickly re-publish
modules that have a status of Started but requires republishing,
as they will after subsequently editing your library or module projects,
you can simply click Update Running Servers.