Apache OJB
| Company type | Open source software |
|---|---|
| Industry | Software development |
| Founded | April 6, 2005 |
| Defunct | January 16, 2011 |
| Products | Object/Relational mapping framework for Java |
| Owner | Apache Software Foundation |
Apache ObJectRelationalBridge (OJB) serves as an Object/Relational mapping framework that facilitates seamless persistence of Java objects within relational database systems. This tool, created by the Apache Software Foundation, was initially launched on April 6, 2005. It was officially discontinued on January 16, 2011.
Features
As an open source initiative, OJB is recognized for its minimalistic architecture and user-friendly implementation, requiring just two configuration files to establish a persistence layer. It integrates effortlessly with existing software without the necessity for code generation. The platform accommodates various persistence models such as the owner model (PersistenceBroker API), JDO, and Object Data Management Group (ODMG) standards.
Functionality
OJB utilizes an XML-driven Object/Relational mapping stored within a dynamic MetaData framework. This framework is accessible and modifiable at runtime through a straightforward Meta-Object-Protocol (MOP), providing adaptable management of the persistence engine’s operations.
Configuration
The system depends primarily on two configuration files: OJB.properties and repository.xml.
Allocation
For instance, when defining a one-to-one association between two entities—person and account—OJB effectively handles the bidirectional linkage between these tables.