Jcrom

From Wikipedia, the free encyclopedia
Jump to: navigation, search
JCROM
JCROM Logo
Stable release 2.1.0 / June 19, 2013 (2013-06-19)
Development status Active
Written in Java
Operating system Cross-platform
Type Content repository
License Apache License 2.0
Website jcrom.googlecode.com

JCROM is an acronym that stands for Java Content Repository Object Mapper. It is a simple and lightweight annotation-based framework for mapping Plain Old Java Objects (POJOs) to/from nodes in a Java Content Repository (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]

See also[edit]

  • Jackrabbit OCM - a framework used to persist java objects (pojos) in a JCR repository

References[edit]

External links[edit]