Jump to content

Apache OJB: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m r2.6.4) (robot Modifying: es:OJB
No edit summary
Line 1: Line 1:
{{ Infobox Software
{{ Infobox Software
| name = Apache ObJectRelationalBridge
| name = Apache ObJectRelationalBridgesasasasas'''sasasasasasa'''
| logo =
| logo =
| screenshot =
| screenshot =
| caption =
| caption =asasasasasas
| collapsible = yes
| collapsible = yesas
| developer = [[Apache Software Foundation]]
| developer = [[Apache Software Foundation]]
| latest release version = 1.0.4
| latest release version = 1.0.4

Revision as of 12:36, 16 August 2011

Apache ObJectRelationalBridgesasasasassasasasasasa
Developer(s)Apache Software Foundation
Stable release
1.0.4 / December 31, 2005 (2005-12-31)
Written inJava
Operating systemCross-platform
TypeObject-relational mapping
LicenseApache License 2.0
Websitehttp://db.apache.org/ojb/

Apache ObJectRelationalBridge (OJB) is an Object/Relational mapping tool that allows transparent persistence for Java Objects against relational databases.

Apache OJB was released on April 6th, 2005.[1]

Features

  • OJB is open source (open source code).
  • Is also lightweight and easy to use, because to implement persistence layer one must simply configure two files (see section below)
  • Easy to integrate into an existing application, because it does not generate code.
  • Allow the use of different patterns of persistence: owner (PersistenceBroker API), JDO and Object Data Management Group (ODMG).

Configuration

At least two files are required to configure OJB:

  • OJB.properties
  • 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.

References

  1. ^ http://www.linuxtoday.com/developer/2005040602826NWSVDV - Linux Today - Internetnews.com: Apache releases Object Relational Bridge

See also