Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "COSMOS DG Constructing a Data Manager"
(→Creating a data manager or MDR project) |
(→Creating a data manager or MDR project) |
||
Line 29: | Line 29: | ||
# Open the J2EE perspective in Eclipse. | # Open the J2EE perspective in Eclipse. | ||
− | # Select <b>File -> New -> Project...</b> from the Eclipse menu bar. The | + | # Select <b>File -> New -> Project...</b> from the Eclipse menu bar. The New Project wizard starts. |
− | # From the | + | # From the New Project wizard, select <b>Web -> Dynamic Web Project</b> and press the <b>Next</b> button. The New Dynamic Web Project wizard starts. |
# Follow the project wizard prompts, and set the values as suggested below. | # Follow the project wizard prompts, and set the values as suggested below. | ||
Line 37: | Line 37: | ||
<dl> | <dl> | ||
<dt>Target Runtime | <dt>Target Runtime | ||
− | <dd> | + | <dd> |
+ | In the Target Runtime field, select the Apache Tomcat server where you want to deploy the data manager project. If a Tomcat server is not already defined, click '''New...''' to select a server runtime environment. | ||
<dt>Configuration | <dt>Configuration | ||
<dd>After you define and select a target runtime for Apache Tomcat, the configuration "Default Configuration for Apache Tomcat v5.5" will be available for selection. Select this configuration and click the '''Modify...''' button. The Project Facets dialog will open. Select either "Custom data manager" (to create a data manager) or "Management data repository" (to create an MDR) under the "Systems Management" category and press '''OK'''. | <dd>After you define and select a target runtime for Apache Tomcat, the configuration "Default Configuration for Apache Tomcat v5.5" will be available for selection. Select this configuration and click the '''Modify...''' button. The Project Facets dialog will open. Select either "Custom data manager" (to create a data manager) or "Management data repository" (to create an MDR) under the "Systems Management" category and press '''OK'''. |
Revision as of 02:01, 21 March 2008
COSMOS Wiki > COSMOS Document Plan > COSMOS Manual Guide
Contents
- 1 COSMOS Development Guide Constructing a Data Manager
- 2 Outline
- 3 Creating a Data Manager
- 3.1 Preparing the development environment
- 3.2 Creating a data manager or MDR project
- 3.3 Customizing MDR parameters
- 3.4 Providing CMDBf Query Processing Handlers
- 3.5 Providing Custom Capabilities
- 3.6 Writing Client Proxies
- 3.7 Class Diagram
- 3.8 Running the MDR within Eclipse
- 3.9 Deploying the MDR on Tomcat
- 4 Content
COSMOS Development Guide Constructing a Data Manager
Category: Development Guide
Owner | Hubert Leung and David Whiteman |
Bug # | 219141 |
Due dates | Schedule |
Outline
Creating a Data Manager
Preparing the development environment
Install COSMOS SDK and pre-requisites (Tomcat, Webtools project)
Creating a data manager or MDR project
The COSMOS SDK provides Eclipse-based tooling for creating data manager and MDR projects. These tools make use of capabilities provided by the Eclipse Webtools project to configure your project with the
To create a new data manager project, complete the following steps:
- Open the J2EE perspective in Eclipse.
- Select File -> New -> Project... from the Eclipse menu bar. The New Project wizard starts.
- From the New Project wizard, select Web -> Dynamic Web Project and press the Next button. The New Dynamic Web Project wizard starts.
- Follow the project wizard prompts, and set the values as suggested below.
Wizard fields
- Target Runtime
- In the Target Runtime field, select the Apache Tomcat server where you want to deploy the data manager project. If a Tomcat server is not already defined, click New... to select a server runtime environment.
- Configuration
- After you define and select a target runtime for Apache Tomcat, the configuration "Default Configuration for Apache Tomcat v5.5" will be available for selection. Select this configuration and click the Modify... button. The Project Facets dialog will open. Select either "Custom data manager" (to create a data manager) or "Management data repository" (to create an MDR) under the "Systems Management" category and press OK.
- Package name
- On the "Data manager configuration" or "MDR configuration" page, enter the name of the package that will contain the generated class representing the data manager or MDR.
- Generated class name
- Enter the name of the class to be generated that represents the data manager or MDR.