Apache 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.[1]

Apache ObJectRelationalBridge
Developer(s)Apache Software Foundation
Stable release
1.0.55 / December 31, 2005 (2005-12-31)
Written inJava
Operating systemCross-platform
TypeObject-relational mapping
LicenseApache License 2.0
Websitedb.apache.org/ojb/

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

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.

gollark: Mine has an internal deadline in November so I assume you have at least a few weeks.
gollark: I mean, you probably have *some* amount of time. Your school thing might have a deadline a bit before the UCAS one to manage paperwork and stuff.
gollark: January THIS year? That seems wrong. It's the same calendar year as when you do A levels I'm pretty sure.
gollark: Hmm, so the application deadline is January but your school might require stuff earlier.
gollark: There are online ones.

See also

References


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.