Jump to content

Apache OJB: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Added project name to category for correct listing
stub diffuse
 
(11 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Short description|Java software tool}}
{{Other uses|Organization of the Jews in Bulgaria|Orthodox Jewish Bible}}
{{redirect|OJB|other uses|Organization of the Jews in Bulgaria|and|Orthodox Jewish Bible}}
{{Infobox Software
{{Infobox software
| name = Apache ObJectRelationalBridge
| name = Apache ObJectRelationalBridge
| logo =
| logo =
Line 8: Line 9:
| developer = [[Apache Software Foundation]]
| developer = [[Apache Software Foundation]]
| latest release version = 1.0.55
| latest release version = 1.0.55
| latest release date = {{release date|mf=yes|2005|12|31}}
| latest release date = {{Start date and age|mf=yes|2005|12|31}}
| latest preview version =
| latest preview version =
| latest preview date =
| latest preview date =
Line 17: Line 18:
| website = {{URL|https://db.apache.org/ojb/}}
| website = {{URL|https://db.apache.org/ojb/}}
}}
}}
'''Apache ObJectRelationalBridge''' ('''OJB''') is an Object/Relational mapping tool that allows transparent persistence for [[Java (programming language)|Java]] Objects against [[relational database]]s. It was released on April 6, 2005.<ref>{{Cite web |url=http://www.linuxtoday.com/developer/2005040602826NWSVDV |title=- Linux Today - Internetnews.com: Apache releases Object Relational Bridge |access-date=2011-05-07 |archive-date=2012-09-02 |archive-url=https://web.archive.org/web/20120902041816/http://www.linuxtoday.com/developer/2005040602826NWSVDV |url-status=dead }}</ref>

'''Apache ObJectRelationalBridge''' ('''OJB''') is an Object/Relational mapping tool that allows transparent persistence for [[Java (programming language)|Java]] Objects against [[relational database]]s. It was released on April 6, 2005.<ref>[http://www.linuxtoday.com/developer/2005040602826NWSVDV - Linux Today - Internetnews.com: Apache releases Object Relational Bridge]</ref>


As of January 16, 2011 Apache ObJectRelationalBridge has been retired.<ref>[http://attic.apache.org/projects/ojb.html Apache ObJectRelationalBridge (OJB)], Apache Software Foundation.</ref>
As of January 16, 2011 Apache ObJectRelationalBridge has been retired.<ref>[http://attic.apache.org/projects/ojb.html Apache ObJectRelationalBridge (OJB)], Apache Software Foundation.</ref>


==Features==
==Features==
OJB is an ''[[Open-source software|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.
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]]), [[Java Data Objects|JDO]] and Object Data Management Group ([[ODMG]]).
It allows the use of different patterns of persistence: owner (PersistenceBroker [[API]]), [[Java Data Objects|JDO]] and Object Data Management Group ([[ODMG]]).


==Functionality==
==Functionality==
OJB uses an XML based Object/Relational mapping. The mapping resides in a dynamic [[Metadata|MetaData]] layer, which can be manipulated at runtime through a simple [[Metaobject|Meta-Object-Protocol]] (MOP) to change the behaviour of the [[Persistence (computer science)|persistence]] kernel.
OJB uses an [[XML]] based Object/Relational mapping. The mapping resides in a dynamic [[Metadata|MetaData]] layer, which can be manipulated at runtime through a simple [[Metaobject|Meta-Object-Protocol]] (MOP) to change the behaviour of the [[Persistence (computer science)|persistence]] kernel.


==Configuration==
==Configuration==
Line 38: Line 36:


==See also==
==See also==
{{Portal|Free software}}
{{Portal|Free and open-source software}}
*[[Apache OpenJPA]]
*[[Apache OpenJPA]]


Line 45: Line 43:


==External links==
==External links==
*[http://db.apache.org/ojb/ Apache ObJectRelationalBridge]
*[http://db.apache.org/ojb/ Apache ObJectRelationalBridge] {{Webarchive|url=https://web.archive.org/web/20060126230948/http://db.apache.org/ojb/ |date=2006-01-26 }}


{{Apache}}
{{Apache Software Foundation}}


[[Category:Apache Software Foundation|OJB]]
[[Category:Apache Software Foundation projects|OJB]]
[[Category:Apache Software Foundation projects]]
[[Category:Java enterprise platform]]
[[Category:Java enterprise platform]]
[[Category:Free software programmed in Java (programming language)]]
[[Category:Free software programmed in Java (programming language)]]
Line 57: Line 54:




{{Software-stub}}
{{free-software-stub}}

Latest revision as of 21:22, 26 December 2023

Apache ObJectRelationalBridge
Developer(s)Apache Software Foundation
Stable release
1.0.55 / December 31, 2005; 18 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.[1]

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

Features

[edit]

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

[edit]

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

[edit]

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

Allocation

[edit]

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

[edit]

References

[edit]
  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.
[edit]