Introduction:
Object Relationship Bridge (OJB) is an object relationship mapping tool that can complete the transfer from Java objects to relational databases.
Bright storage.
flexibility:
OJB provides users with a variety of storage APIs, allowing users to have a lot of choices:
1. Provide a complete ODMG3.0 API (details can be referred to the guide 2)
2. Fully JDO API. We now provide a plugin of JDO RI, JDO RI is provided with plugins.
Complete JDO1.0-based O / R solution
3. Provides a JDO and ODMG Public Object Transaction Management (OTM)
4. A underlying API PersistenceBroker, an OJB access to the core. OTM, ODMG and JDO are in this ap
I is implemented on the basis of i (for details, please refer to the guide 1)
More detailed introduction to the OJB layer can see FAQ
Scalability:
OJB can be widely used in applications, from embedded systems to fat clients to J2EE multi-layer architecture
1. Separate mode (single virtual machine mode), OJB's PersistenceBroker and client run in the same Java
Virtual machine. Suitable for only one client program (such as local database programs, or single service servlet,
EJB application). This mode is the default mode.
2. C / S mode. Support multiple virtual machines on different physical machines and run multiple clients and multiple PERSIST
Encebroker service. Suitable for a typical C / S program, or the load balance of the application server. For details, refer to C / S
Pharmaceutical.
Powerful functionality:
OJB uses XML-based object-based mapping. The mapping occurs in a dynamic metadata layer so that it can pass one
Simple Meta-Object Protocol (MOP) can operate metadata layer to change the storage kernel during runtime.
OJB provides advanced O / R, such as object buffering, and transaction isolation layers through the virtual proxy.
The distributed lock management also supports multiple locked management.
The OJB is well integrated with the J2EE application server. JNDI lookup supporting data sources; integration with JTA and JCA
Can be used in JSPS, Servlet, and SessionBeans; OJB is also available for entity Bean Management Bean (BMP)
Special support.
OJB provides good configurability, and integrated mechanisms, allowing users to expand using predefined components or their own
Assembly