Jump to content

Apache Cayenne

From Alfawiki
Apache Cayenne
Company typeOpen source software
IndustrySoftware development
FoundedJuly 2002; 24 years ago (2002-07)
FounderAndrus Adamchik
ProductsObject-relational mapping framework
OwnerApache Software Foundation
Websitecayenne.apache.org

Apache Cayenne is a freely available persistence framework distributed under the Apache License, providing object-relational mapping (ORM) alongside remoting capabilities. It facilitates the direct mapping of one or multiple database schemas to Java objects, managing tasks such as atomic commit and rollback operations, SQL creation, joins, sequences, among other functions. Through Remote Object Persistence, it allows Java objects to be stored on client systems via Web Services, while native XML serialization supports persistence for non-Java clients, including Ajax-enabled browsers.

The framework includes support for database reverse engineering and schema generation, utilizing a class generation engine based on Velocity. These processes are controlled by the CayenneModeler, a comprehensive GUI application that requires no configuration through XML files or annotations. This graphical interface enables rapid mapping of entire database schemas to Java objects, making it approachable for enterprise users who are new to ORM technology.

Additional capabilities encompass caching mechanisms, an extensive object query language, pre-fetching of relationships, lazy loading of objects and relationships, inheritance among objects, automatic database detection, and support for generic persisted entities. Cayenne is architected to scale effectively across projects of nearly any magnitude.

History

Originally developed by ObjectStyle under the leadership of Andrus Adamchik, Cayenne was first released under the Apache license in July 2002. It later joined the Apache Software Foundation in early 2006 and achieved status as a top-level Apache project by December 2006.

Notable releases include Apache Cayenne 3.0 in May 2010 and version 3.1 in autumn 2014, both introducing major improvements in runtime efficiency and configuration flexibility.

See also

External links