Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Apache OJB
Java software tool

Apache ObJectRelationalBridge (OJB) is an Object/Relational mapping tool that allows transparent persistence for Java Objects against relational databases. It was released on April 6, 2005.

As of January 16, 2011 Apache ObJectRelationalBridge has been retired.

We don't have any images related to Apache OJB yet.
We don't have any YouTube videos related to Apache OJB yet.
We don't have any PDF documents related to Apache OJB yet.
We don't have any Books related to Apache OJB yet.
We don't have any archived web articles related to Apache OJB yet.

Features

OJB is an open source project. It is lightweight and easy to use, requiring simply configure two files to implement a persistence layer. It is easy to integrate into an existing application because it does not generate code. It allows the use of different patterns of persistence: owner (PersistenceBroker API), JDO and Object Data Management Group (ODMG).

Functionality

OJB uses an XML based Object/Relational mapping. The mapping resides in a dynamic MetaData layer, which can be manipulated at runtime through a simple Meta-Object-Protocol (MOP) to change the behaviour of the persistence kernel.

Configuration

At least two files are required to configure OJB: OJB.properties and repository.xml

Allocation

For mapping a 1-1 relationship, for example, you have two tables: person and account. In this case, a person has an account and vice versa.

See also

  • Free and open-source software portal

References

  1. "- Linux Today - Internetnews.com: Apache releases Object Relational Bridge". Archived from the original on 2012-09-02. Retrieved 2011-05-07. https://web.archive.org/web/20120902041816/http://www.linuxtoday.com/developer/2005040602826NWSVDV

  2. Apache ObJectRelationalBridge (OJB), Apache Software Foundation. https://attic.apache.org/projects/ojb.html