For developing new software systems, object-oriented programming is undoubtedly the most widely used programming model today. Due to the persistence requirements of commercial data, relational database management system (RDBMS) has been widely used.
Persistence is crucial for most enterprise applications because they need to access relational databases, such as Oracle Database 10 Gb. If you are using Java to develop applications, you may be responsible for some tedious work, such as using JDBC
Redis is a memory database in which all of its data is stored in memory and then periodically asynchronously saved to disk (this is known as "semi-persistent mode"), and each data change can be written to a append only File (AOF) ( This is called
2. What is persistence? Why persistence?1. What is persistence?I have found a lot of articles and have not found any satisfactory answers. I finally read the following explanation from "proficient in hibernate: Java object persistence technology"
Redis persistence and redis persistence
Redis has two persistence Methods: Snapshot (RDBFiles) and append files (AOFFile)
RDB persistence is used to save a data snapshot at a specific interval.
The AOF (Append only file) Persistence method
Document directory
Domain Model
Basic knowledge of O-R framework and EJB3 JPA
Enable Metadata Annotation
O-R ing in standardized JPA
Entity Manager API: a standard API for Entity Operations
Query API
Package
Reference implementation
EJB3
In this article we describe and compare two of the most popular open source persistence frameworks: Ibatis and Hibernate, and we'll also discuss the Java Persistence API (JPA). We introduce each solution and discuss the quality that it provides, as
Java Persistence API: Persistence unit (persistence Units)If you intend to use JPA in your application, you will need to use the persistence unit (persistence Units). A persistence unit has a unique name and is responsible for defining how a set of
Persistence featuresFor internal data security considerations, Redis saves its own data as a file to a hard disk on the serverAfter a reboot, the data in the hard drive is restored to the inside of the memory (Redis).The process of saving data to a
Spring Web Flow is a novel java™web framework that extends the spring MVC technology. Application development using Spring Web flow is expanded around the use cases defined as Web streams. Organizing a development workspace based on a Web stream
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.