Generating J2EE applications for monitoring models
From the Business Monitoring perspective, right-click on
the monitor model name in the Project Explorer tab and click Generate
Monitor J2EE Projects. The Generate Monitor J2EE Projects
wizard opens.
The Generate Monitor J2EE Projects window lists the default
names of the three projects. The first two names are for the two EJB
projects. The third name is the name of the J2EE Application project.
You can change these names, but the default names reflect which J2EE
applications and EJB projects were generated from the monitor model
(since the names are derived exactly from the name of the monitor
model). After you decide to keep or change the names, click Finish.
Starting the Monitor Server
Click the Servers tab.
Locate and select the monitor server. The server is easy
to recognize since it starts with "WebSphere Business
Monitor v6.2" in the Server column. If it is currently stopped, the
server state is listed as "Stopped" under the State column for that
server.
If the server is currently stopped, click the Run icon.
After you click the Run icon, the state should say “Starting
…” under the State column. The Console tab will become active and
displays messages indicating its progress.
After a successful start, the State of the monitor server
changes to “Started”.
Publishing generated applications
From the Server tab, right-click on the monitor server.
Click Add and Remove Projects ….
The Add and Remove Projects wizard opens.
The Add and Remove Projects wizard has two lists, one on
the left that contains available projects, and one on the right that
contains configured projects. Select MonitorLimousinesApplication on
the left.
Click Add. The application will
move to the right.
Click Finish. You might be prompted
with a message saying that a project will be added/removed from the
server. Click OK. The Console tab will be activated
again showing you some messages.
When complete, click the Server tab again. Select the monitor
server and expand it. You should see the MonitorLimousinesApplication
and the 2 EJB projects under the monitor server.