Jcrom

{{Short description|Software framework}}

{{ Infobox Software

| name = JCROM

| logo = Jcrom-logo.png

| screenshot =

| caption =

| developer = Olafur Gauti Gudmundsson, Nicolas Dos Santos

| latest release version = 2.1.0

| latest release date = {{Release date|2013|06|19}}

| operating system =

| programming language = Java

| genre = Content repository

| license = Apache License 2.0

| website = {{URL|jcrom.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

  • Annotation based (needs Java 1.5)
  • Lightweight, minimal external dependencies
  • Works with any JCR implementation (e.g. Apache Jackrabbit,[http://jackrabbit.apache.org/ Apache Jackrabbit home page] ModeShape,[http://www.jboss.org/modeshape ModeShape open source project] Adobe CQ,{{Cite web |url=http://dev.day.com/docs/en/cq/5-5.html |title=Adobe CQ |access-date=2013-07-07 |archive-date=2013-05-20 |archive-url=https://web.archive.org/web/20130520113248/http://dev.day.com/docs/en/cq/5-5.html |url-status=dead }} ...)
  • DAO support
  • Works with the Spring Framework[http://www.springsource.org/spring-framework Spring Framework home page] and Spring Extension JCR{{Cite web |url=http://se-jcr.sourceforge.net/guide.html |title=Spring Extension JCR open source project |access-date=2013-07-07 |archive-date=2015-05-29 |archive-url=https://web.archive.org/web/20150529050723/http://se-jcr.sourceforge.net/guide.html |url-status=dead }}
  • Works with Google GuiceGoogle Guice framework home page

References

{{reflist}}