Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the advantages of OJB

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "what are the advantages of OJB". In daily operation, I believe many people have doubts about the advantages of OJB. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what are the advantages of OJB?" Next, please follow the editor to study!

Brief introduction:

Object Relational Bridge (OJB) is an object relational mapping tool, which can complete the penetration from Java objects to relational databases.

Open storage.

Flexibility:

OJB provides users with a variety of storage api, giving users a lot of choices:

1. Provide full ODMG3.0 API (for more information, please refer to Guide 2)

2. Complete JDO API. We now provide a plug-in for JDO RI, and JDO RI in conjunction with the plug-in provides a

Completely based on JDO1. 0's Ogamard R solution

3. Provide a common object transaction management layer (OTM) for JDO and ODMG

4. An underlying API PersistenceBroker as the core of OJB access. Both OTM,ODMG and JDO are on the AP.

Based on the implementation of I (please refer to guide 1 for details)

For a more detailed description of the OJB layer, see FAQ

Scalability:

OJB can be widely used in applications, from embedded systems to fat clients to J2EE-based multi-tier architectures

1. Separate mode (single virtual machine mode). The PersistenceBroker of OJB and the client run in the same Java.

On the virtual machine. Suitable for programs with only one client (such as local database programs, or single-service servlet)

EJB application). This mode is the default mode.

2. C _ pact S mode. Support for multiple virtual machines running multiple clients and multiple Persist simultaneously on different physical machines

EnceBroker service. It is suitable for typical Cramp S program, or load balancing of application server. For more information, please refer to Cramp S

Guide the students.

Powerful functionality:

OJB uses XML-based object-relational mapping. Mapping takes place in a dynamic metadata layer, making it possible to pass through a

The simple meta-object protocol (MOP) can manipulate the metadata layer to change the storage kernel at run time.

OJB provides advanced Ogamard R, such as object buffering, later instantiation through virtual proxies, and configuration of transaction isolation layer reality.

Now distributed lock management supports multiple lock management at the same time.

OJB integrates well with the J2EE application server. Support for JNDI lookup of data sources; full integration with JTA and JCA

; can be used in JSPs,Servlet and SessionBeans; OJB is also provided for entity Bean Management Bean (BMP)

Special support.

OJB provides good configurability and integration mechanisms, allowing users to use predefined components or implement their own extensions

module

At this point, the study on "what are the advantages of OJB" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report