Apache Cayenne

This is an old revision of this page, as edited by A5b (talk | contribs) at 15:05, 25 February 2007 ({{apache}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Apache Cayenne is an open source persistence framework licensed under the Apache License, providing object-relational mapping (ORM) and remoting services. Cayenne seamlessly binds one or more database schemas directly to Java objects, managing atomic commit and rollbacks, SQL generation, joins, sequences, and more. With Cayenne's Remote Object Persistence, those Java objects can even be persisted out to clients via Web Services. Or, with native XML serialization, objects can be even further persisted to non-Java clients - such as an Ajax-capable browser.

Apache Cayenne
Developer(s)Apache Software Foundation
Repository
Operating systemCross-platform
Typeobject-relational mapping
LicenseApache License
Websitehttp://cayenne.apache.org/

Cayenne is designed to be easy to use, without sacrificing flexibility or design. To that end, Cayenne supports database reverse engineering and generation, as well as a Velocity-based class generation engine. All of these functions can be controlled directly through the CayenneModeler, a fully functional GUI tool. No cryptic XML- or annotation-based configuration is required. An entire database schema can be mapped directly to Java objects within minutes, all from the comfort of the GUI-based CayenneModeler.

Cayenne supports numerous other features, including caching, a complete object query syntax, relationship pre-fetching, on-demand object and relationship faulting, object inheritance, database auto-detection, and generic persisted objects. Most importantly, Cayenne can scale up or down to virtually any project size.

History

Cayenne started as a project run by Objectstyle and led by Andrus Adamchik. It was released under the Apache license from its first release in July 2002. In early 2006 the project moved from Objectstyle to the Apache Software Foundation and in December of 2006 was promoted to be a top level project of Apache.