Spring Boot + Spring Data JPA Project Integration Development Records

Just after changing the company, the project architect was still stunned when he proposed a new system architecture. It was relatively difficult and easy to build, but he did not know enough about Spring Data JPA, so he still had some difficulty. In the early stage of framework building, there were many things that did not integrate well. ...

Posted on Thu, 20 Dec 2018 08:30:05 -0800 by cbn_noodles

Spring Boot + Mybatis + Redis as L2cache

1. background Spring-Boot has become one of the most mainstream Java Web development frameworks today because it provides a variety of out-of-the-box plug-ins. Mybatis is a very lightweight and useful ORM framework. Redis is the most popular distributed key-value database nowadays. In web development, we often use Redis to cache the query resu ...

Posted on Thu, 20 Dec 2018 05:27:05 -0800 by sunshine66

ava Web Modernization Development: Spring Boot + Mybatis + Redis Level 2 Cache

background Spring-Boot has become one of the most mainstream Java Web development frameworks today because it provides a variety of out-of-the-box plug-ins. Mybatis is a very lightweight and useful ORM framework. Redis is the most popular distributed key-value database nowadays. In web development, we often use Redis to cache the query results ...

Posted on Thu, 20 Dec 2018 05:12:05 -0800 by timc37

Spring Cloud Spring Boot mybatis Distributed Microservice Cloud Architecture (38) Logs using log4j

Introducing log4j dependencies When we created the Spring Book project, we introduced spring-boot-starter, which includes spring-boot-starter-logging, which is the default log framework of Spring Boot, Logback. So before we introduce log4j, we need to eliminate the dependency of the package and then introduce log4j dependency, as follows: &lt ...

Posted on Thu, 20 Dec 2018 04:15:05 -0800 by edmore

(17) Integrating Sprcloud Cloud Architecture - message driven Spring Cloud Stream

When using spring cloud architecture, we have to use Spring cloud Stream, because the use of message-oriented middleware is ubiquitous in the project. Our company has made an entertainment APP behind us. When using spring cloud architecture, asynchronous notification of messages and asynchronous processing of business need to use message-orient ...

Posted on Thu, 20 Dec 2018 03:48:04 -0800 by TheTitans

SpringBoot 2.x Integrated Redis (different uses of String Template and redisTemplate)

1. Introduction to Redis Redis database is a fully open source, free, high-performance Key-Value database. It supports five value types of storage, including string (string), list (linked list), set (set), zset(sorted set - ordered set) and hash (hash type). Redis is very fast. It can perform about 110,000 SET operations p ...

Posted on Thu, 20 Dec 2018 00:33:05 -0800 by sglane

Integration of spring cloud cloud service architecture - HongHu commonservice-eureka project construction process

Now we build the following for the eureka project of HongHu cloud. The whole process of building is very simple. I will record every step of the process. I hope it can help you:1. Create a maven project named particle-common-eureka and inherit particle-commonservice. The specific pom.xml configuration file is as follows:<?xml version="1 ...

Posted on Wed, 19 Dec 2018 22:18:05 -0800 by FarhanKhalaf

Spring Boot and Kotlin Timing Tasks

In writing Spring Boot applications, you will encounter such scenarios as: you need to send some messages, e-mails and other operations on a regular basis, or you may regularly check and monitor some signs, parameters and so on. Create timed tasks Writing timing tasks in Spring Boot is very simple. Here is an example of how to create timing tas ...

Posted on Tue, 18 Dec 2018 20:12:04 -0800 by Stickdragon

The problem of Publishing Web service interface on myeclipse spring+mybatis+axis2 and the way of personal implementation

Premise: Suddenly one day this month, there was a project docking that needed to use the interface published by axis2, which made it difficult for me. After all, I didn't even know how to publish the web service interface before. Later, the first interface, sayHi(), was released from Hello World; until then, it was smooth, but when it was integ ...

Posted on Tue, 18 Dec 2018 18:21:04 -0800 by winsonlee

Spring Cloud Builds Micro-Service Architecture: Service Registration and Discovery (Eureka, Consul) [Dalston Edition]

It's been a long time since Spring Cloud was updated to build a micro-service architecture. Since the beginning of writing Spring Cloud's topic content, it has gained a lot of reading and recognition. Of course, there are also some criticisms, including some very pertinent opinions and in-depth issues. It's also an opportunity for me to further ...

Posted on Tue, 18 Dec 2018 16:33:04 -0800 by pucker22