Title: Converting an Existing Business Framework

Converting an Existing Business Framework

If there is an existing data layer (e.g. DAO) that needs to be converted to Cayenne, currently most of the mapping tasks will have to be done manually using the Modeler.

Note for EOF Users
CayenneModeler provides import function for the EOModels. So most of the mapping conversions should be automatic.

In any case there is a good chance of reusing business methods already defined in a persistence framework. And definitely any existing database can be used as is. One possible approach to conversion is to follow these steps:

See the following topics explaining individual tasks involved: