Developer's Guide
This task describes how to create a project.
This task assumes you have installed the COMOS SDK and its prequisites and
you have launched COSMOS.
Follow the instructions below to create an MDR project for the
Student-Teacher sample.
- Click File > New > Project
- Expand Web and select Dynamic Web Project
- Click Next and type in
org.eclipse.cosmos.example.mdr as the project
name.
- In the Target Runtime field, select the web server
where you want to deploy the data manager project. If a web server
is not already defined, click New... to select
a server runtime environment.
- After you define and select a target runtime for the web server, the configuration
"Default Configuration for <web server>" will be available
for selection. Follow the steps below to configure the project:
- Select the configuration and click the
Modify... button. The Project Facets
dialog will open.
- Select the Axis2 Web Services facet category. Axis2 is the web
services implementation used by COSMOS to deploy MDRs to a J2EE container.
What should this change to?
- Under the Systems Management category, select CMDBf query
service to implement an MDR with a query service. For the purpose
of the Teacher-Student sample we will not need the registration
service. Any MDR intending to provide a CMDBf registration service
would also select the second option under System Management.
- Press OK to complete the configuration.
- Click Next twice to skip to the MDR Configuration page
- Enter
org.eclipse.cosmos.example.mdr as the
package name and StudentTeacherSample as the MDR name
- Click Finish to create the project
Now, you can configure the project you just created.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]