基于Spring Boot和MongoDB 的数据持久化框架研究

陈涛, 叶荣华

电脑与电信 ›› 2016, Vol. 1 ›› Issue (1-2) : 71-74.

电脑与电信 ›› 2016, Vol. 1 ›› Issue (1-2) : 71-74.
应用技术与研究

基于Spring Boot和MongoDB 的数据持久化框架研究

  • 陈涛,叶荣华
作者信息 +

Research on Data Persistence Framework Based on Spring Boot and MongoDB

  • Chen Tao,Ye Ronghua
Author information +
文章历史 +

摘要

随着Spring Boot 和MongoDB 技术的进一步完善和发展,采用该解决方案的企业如同雨后春笋般不断涌现。 但是Spring Boot 整合MongoDB 数据库的时候却遇到了一些问题,例如没有完整的数据持久化解决方案。然而回顾传统关系 型数据库却有Hibernate 完成该工作。本文首先介绍了Spring Boot 和MongoDB 的原理及其技术背景,具体地分析了该解决方 案存在的问题。本文的主要工作是设计并实现基于该解决方案JPA 方式的数据持久化框架MDBC。例如MDBC 增加完善了 聚合函数;提供了处理事务和保证数据一致性的工具;提供了容灾备份的工具等等。

Abstract

With the further improvement and development of Spring Boot and MongoDB technology, the solution of the enterprise has sprung up like mushrooms. But when Spring Boot integrated MongoDB database has encountered some problems, such as no complete data persistence solution. However, a review of traditional relational database has completed the work of Hibernate. This paper firstly introduces the principle and technical background of Spring Boot and MongoDB, then analyzes the existing problems of the solution. The main work of this paper is to design and implement a data persistence framework based on the solution of JPA MDBC. For example MDBC increasing and perfecting the aggregation function; provide the transaction processing and ensure data consistency; provides a backup and disaster recovery tool and so on.

关键词

MDBC / 数据持久化 / MongoDB JPA

Key words

MDBC / data persistence / MongoDB JPA

引用本文

导出引用
陈涛, 叶荣华. 基于Spring Boot和MongoDB 的数据持久化框架研究[J]. 电脑与电信. 2016, 1(1-2): 71-74
Chen Tao, Ye Ronghua. Research on Data Persistence Framework Based on Spring Boot and MongoDB[J]. Computer & Telecommunication. 2016, 1(1-2): 71-74
中图分类号: TP311   

Accesses

Citation

Detail

段落导航
相关文章

/