# COSMOS Developer's Guide

## Creating the Student-Teacher Project

This task describes how to create a project.

This task assumes you have installed the COMOS SDK and its prerequisites and you have launched COSMOS.

Follow the instructions below to create an MDR project for the Student-Teacher sample.

1. Click File > New > Project.
2. Expand Web and select Dynamic Web Project.
3. Click Next and type in org.eclipse.cosmos.example.mdr as the project name.
4. 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.
5. 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:
   1. Select the configuration and click the Modify... button. The Project Facets dialog opens.
   2. Select the Axis2 Web Services facet category. Axis2 is the web services implementation used by COSMOS to deploy MDRs to a J2EE container.
   3. 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.
   4. Click OK to complete the configuration.
6. Click Next twice to skip to the MDR Configuration page.
7. Enter org.eclipse.cosmos.example.mdr as the package name and StudentTeacherSample as the MDR name.
8. 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 ]