blob: 945a2aefea9ce6ba8406aed7609c72e4dec1530c [file] [log] [blame]
---
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
title: New System
url: /docs/3.0/new-system.html
layout: docs_legacy
---
<H3><A name="NewSystem-NewSystem"></A>New System</H3>
<P>For the tasks that do not use neither an existing Java layer, nor an existing database schema, Cayenne mapping project can serve as a starting point for both. User would start a new Cayenne project, create a DataMap with DbEntities corresponding to the desired schema, and then create a set of ObjEntities on top of that. After this is done, both Java and database layer can be generated from the mapping. </P>
<P>See the following topics explaining individual tasks involved:</P>
<UL>
<LI><A href="create-new-project.html" title="Create New Project">Create New Project</A></LI>
<LI><A href="generate-database-schema.html" title="Generate Database Schema">Generate Database Schema</A></LI>
<LI><A href="generate-java-classes.html" title="Generate Java Classes">Generate Java Classes</A></LI>
</UL>