Misplaced Pages

Apache OJB

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Ojb) Java software tool "OJB" redirects here. For other uses, see Organization of the Jews in Bulgaria and Orthodox Jewish Bible.
Apache ObJectRelationalBridge
Developer(s)Apache Software Foundation
Stable release1.0.55 / December 31, 2005; 19 years ago (2005-12-31)
Written inJava
Operating systemCross-platform
TypeObject-relational mapping
LicenseApache License 2.0
Websitedb.apache.org/ojb/

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.

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

References

  1. "- Linux Today - Internetnews.com: Apache releases Object Relational Bridge". Archived from the original on 2012-09-02. Retrieved 2011-05-07.
  2. Apache ObJectRelationalBridge (OJB), Apache Software Foundation.

External links

The Apache Software Foundation
Top-level
projects
Commons
Incubator
Other projects
Attic
Licenses


Stub icon

This free and open-source software article is a stub. You can help Misplaced Pages by expanding it.

Categories:
Apache OJB Add topic