Start using Spring Data JPA

Since we have just released the first milestone of the Spring Data JPA project, I would like to give you a brief introduction to its functionality. As you may know, the Spring framework provides support for building a data access layer based on JPA. So what does Spring Data JPA add to this basic support? To answer this que ...

Posted by CreativeWebDsign on Fri, 10 May 2019 18:54:01 +0200

Dubbo Server/Client demo

                    The project group uses distributed services and has dozens of applications online. RPC calls rely entirely on Dubbo. Usually the development has been built with other people's Dubbo environment. Recently, I have taken time to build a small Dubbo demo, a server and a client independently. One server ...

Posted by tomfra on Fri, 10 May 2019 17:53:33 +0200

Simulated Springboot 2: built-in tomcat

Since tomcat is built into a project and can successfully start a project, you need to know what tomcat has done, so you need to understand first. How a common web project is started and run by our locally configured tomcat (1) Tell tomcat which projects to run first (that is, configuring tomcat before starting a project with eclipse, idea, or ...

Posted by abduljan on Fri, 10 May 2019 17:39:18 +0200

Analysis of RPC and WebService

Although SpringCloud and Dubbo(x) are the main technologies in the popular RPC technology, some more traditional technologies cannot be avoided if interface calls are made.I happened to use WebService's technology the other day when making interface calls (Sections 8,9 are real development), which is exactly what I wrote here. 1. RPC-related ...

Posted by horseatingweeds on Fri, 10 May 2019 16:33:10 +0200

AOP Explanation of Spring

outline Introduction to AOPII. Actual Operations of Spring3. Common labels of AOPIV. Project Source Code and Reference Download5. Reference Articles     Introduction to AOP 1. What is AOP In the software industry, AOP stands for Aspect Oriented Programming, which means: AoP Through precompile A technique of unified ...

Posted by Seamless on Fri, 10 May 2019 15:41:33 +0200

Cache — — get and set of Cache instances

Ehcache is configured in Spring, created by EhCache Manager FactoryBean and enabled a Cache Manager instance to manage Cache. How does Cache Manager manage Cache? Who created Cache? Org. spring framework. cache. CacheManager: source code public interface CacheManager { @Nullable Cache getCache(String var1); Colle ...

Posted by stebut05 on Fri, 10 May 2019 06:28:03 +0200

Reasons for BindingException in SSM with maven Integration

Reasons for generating org.apache.ibatis.binding.BindingException When I was doing SSM integration, I made this mistake: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): jgsu.clong.mapper.SpuMapper.insert_spu at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:18 ...

Posted by vbnullchar on Fri, 10 May 2019 02:16:02 +0200

Spring Cloud Alibaba Integrated Sentinel Flow Control

Previously, we used to integrate sentinel dependencies directly, configure rules by encoding, and so on. Ali already has an open source framework spring-cloud-alibaba for integration into Spring Cloud, which is used to successfully integrate a series of frameworks into Spring Cloud. My version of Spring Cloud is Finchley.SR2, and Spring Boot is ...

Posted by maheshb on Thu, 09 May 2019 23:50:03 +0200

Java Mail Sender of SpringBoot 2.X Kotlin Series Sends Emails

In many services, I often need to use the function of sending email. Fortunately, SpringBoot can use the framework spring-boot-starter-mail quickly. As long as we introduce the framework, we can complete the function of sending email quickly. Introducing mailJar <dependency> <groupId>org.springframework.boot</groupId> ...

Posted by bocasz on Thu, 09 May 2019 20:50:02 +0200

AOP Unified Printing Log of SpringBoot 2.X Kotlin Series

In development projects, we often need to print logs, so that developers can understand the interface invocation and locate errors. In many cases, we need to print logs for the entry and exit of Controller or Service, but we do not want to use logger printing in each method repeatedly. At this time, we hope to have a unified manager to print. ...

Posted by baronmask on Thu, 09 May 2019 06:39:05 +0200