Jump to content

Jcrom

From Wikipedia, the free encyclopedia
JCROM
Developer(s)Olafur Gauti Gudmundsson, Nicolas Dos Santos
Stable release
2.1.0 / June 19, 2013 (2013-06-19)
Written inJava
TypeContent repository
LicenseApache License 2.0
Websitejcrom.googlecode.com

JCROM is an acronym that stands for Java Content Repository (JCR) Object Mapper. It is a simple and lightweight annotation-based framework for mapping Plain Old Java Objects (POJOs) to/from nodes in a JCR. This is commonly called Object Content Mapping.

JCR specifies an API for application developers (and application frameworks) to use for interaction with modern content repositories that provide content services such as searching, versioning, transactions, etc.

There are object mapping frameworks for JDBC, like Hibernate and the Enterprise JavaBeans spec. There are also solutions for mapping to/from XML. The vision of JCROM is to provide the same for JCR.

Features

[edit]
  • Annotation based (needs Java 1.5)
  • Lightweight, minimal external dependencies
  • Works with any JCR implementation (e.g. Apache Jackrabbit,[1] ModeShape,[2] Adobe CQ,[3] ...)
  • DAO support
  • Works with the Spring Framework[4] and Spring Extension JCR[5]
  • Works with Google Guice[6]

References

[edit]
  1. ^ Apache Jackrabbit home page
  2. ^ ModeShape open source project
  3. ^ "Adobe CQ". Archived from the original on 2013-05-20. Retrieved 2013-07-07.
  4. ^ Spring Framework home page
  5. ^ "Spring Extension JCR open source project". Archived from the original on 2015-05-29. Retrieved 2013-07-07.
  6. ^ Google Guice framework home page
[edit]