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

Why do many people say that mybatis framework is popular in China?

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

Share

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

This article mainly introduces why many people say that mybatis framework is popular in China, which has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.

On this question, the first thing that comes to mind is to ask, why do some people say Mybatis is quite popular in China? Do your projects use mybatis at the data access level? I graduated in 2004 and have more than 10 years of working experience in writing code for a front-line development position. For privacy, I won't say my previous company! Ha ha! But to be honest, I stay in several companies, basically do not directly use the persistence framework! Then some students will ask, well, are your projects relatively small? Or is the business simpler? Not much data? NO! NO! I stayed before the company is a telecommunications business, thousands of employees, not small! There is also a financial company with thousands of employees. The complexity of the project business and the amount of data do not need me to specifically explain it here! I believe that IT friends who have done these two industries understand. Here I would like to give you an overview of our previous company projects.

First of all, let me say that I am doing financial business in the company, the database is Oracle, the traditional industry companies have money, not to mention the financial industry, Oracle is not strange. What framework did our system use at the data access level? To be honest, we didn't use any open source framework. The financial industry pays attention to security. Our technical director at that time was a foreigner who was very concerned about the uncertain security factors brought by the open source framework and dared not use it easily. After all, everyone could see the open source framework code. Therefore, our database access layer at that time, we are our own company based on a simple framework encapsulated by jdbc (similar to DBUtil, but better than it, more flexible, more comprehensive), as long as the SQL statement can be directly obtained encapsulated results (SQL statement writing is also very simple, do not do too much, write normally!), Relatively speaking, it is also convenient, and more importantly, the performance is also very good! Of course, if the amount of data is particularly large, such as the nightly regular settlement task of the bank settlement system, our general practice is to write a storage process to solve it! Therefore, in general, there is no problem in dealing with large amounts of data in terms of performance. In addition, the telecommunications company I work for, our system is actually its own encapsulated persistence layer framework, and does not directly use mybatis.

As for why many people say mybatis framework is popular in China, I think there may be several reasons:

Mybatis framework has many advantages, such as:

(1) Semi-automatic execution mode, in addition to sql operations completed by the framework, convenient and fast.

(2) Manually customize sql, realize sql and java code separation, high flexibility, easy maintenance

(3) only need sql to operate, do not need to learn additional content, easy to get started.

(4) Lightweight framework, fast execution speed

2. From the perspective of development efficiency, development cost and flexibility, mybatis is still commendable. In addition, there are many small software companies in China, and the competition is also very large. While completing the project function to achieve the project function goal, more efficiency and cost are considered, and mybatis just meets their needs, so there are many companies using this framework, which is very easy to understand!

Thank you for reading this article carefully. I hope the article "Why do many people say mybatis framework is popular in China" shared by Xiaobian will be helpful to everyone. At the same time, I hope you will support it more, pay attention to the industry information channel, and more relevant knowledge is waiting for you to learn!

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