Java
-
Explain in detail how spring boot integrates mybatis to realize Druid multi data source configuration
1、 Application scenario of multiple data sources At present, the popular data operation framework in the industry is …… -
Spring and mybatis integrate redis based on annotations
Based on this period of time, redis has encountered various problems and wants to sort it out. This paper mainly intro…… -
Spring uses resttemplate to simulate the form submission example
Resttemplate is a class used to access Web services on the client side. Similar to other template classes in spring (s…… -
Spring cloud feign example explanation and learning
The previous blog has built an Eureka + ribbon + hystrix framework. Although it can basically meet the calls between s…… -
Spring and mybatis are combined to realize multi data source switching function
Without much nonsense, the key codes are as follows: 1. Code: dbcontextholder 2. Code: dynamicdatasource 3. Code: spri…… -
Java perpetual calendar to obtain the calendar table of the month and year
This article uses Java technology to input the year and month to obtain the calendar table. The following is a code to…… -
Two ways of spring boot Ajax cross domain
preface In most cases, the Java language will be used as a back-end language for the front-end PHP, node JS provides A…… -
Solutions to XML-RPC Chinese problems in PHP and Java
Problem Description: when using PHP and Java to operate XML-RPC, if the request contains Chinese characters, it will b…… -
Java verification code tool instance code
Tools: VerifyCodeServlet: LoginServlet: login. jsp: loginsuccess: Welcome, warm welcome, welcome <% = username% &…… -
Java input a year, a month and a day to judge the day of the year
Title: enter a certain day of a certain month in a certain year to judge the day of the year? Program analysis: take M…… -
Java uses JSON lib to handle JSON details and example code
Java uses JSON lib to handle JSON [project environment] 1. Convert JSON array object to list object; 2. Convert list t…… -
Implementation of spring security password error locking user for 5 times in Java
Introduction to spring security Spring security is a security framework that can provide declarative security access c…… -
Spring boot (4) uses JWT and spring security to protect the rest API
Under normal circumstances, it is very risky to directly expose the API. If you are directly attacked by a machine, yo…… -
Integrate spring security and customize the verification code instance in spring boot
Final effect 1. Realize page access permission restriction 2. Distinguish user roles and distinguish page permissions …… -
Detailed explanation and comparison of spring transaction isolation and transaction propagation
Detailed explanation and comparison of spring transaction isolation and transaction propagation Spring is the administ…… -
2017 java development job interview questions worth collecting
The following is my own collection of interview questions for Java posts in 2017, which can be used to prepare for the…… -
Spring Security Oauth2. 0 implementation of SMS verification code login example
This article introduces spring security oauth2 0 realizes the login example of SMS verification code, which is shared …… -
Application code example of Java concurrency condition blocking condition
This paper mainly studies the application example code of Java concurrency condition blocking condition, as follows. C…… -
Explain in detail how to use spring security OAuth to implement OAuth 2.0 authorization
OAuth 2.0 is an industrial level authorization protocol. OAuth 2.0 is inherited from OAuth 1.0, which was created in 2…… -
Hibernate closed instance resolution about session
This paper mainly studies the closing of session in Hibernate, as follows. 1. What is the difference between getcurren…… -
How to install Jenkins on CentOS
Jenkins is an open source continuous integration tool written in Java. It can be installed directly on CentOS through …… -
Spring cloud client load balancing ribbon in-depth understanding
1、 Load balancing load balancing (load balance): Based on the existing network structure, it provides a cheap, effect…… -
Code explanation of traditional thread synchronous communication technology of Java concurrency
This paper mainly studies the code examples of Java Concurrent traditional thread synchronous communication technology…… -
Detailed explanation of spring transaction propagation and its implementation principle
This paper mainly studies the spring transaction propagation and its implementation principle. The details are as foll…… -
Resolve the “XML parser error on line 1: content not allowed in preface” error
When publishing a project with eclipse, if you edit the XML file in the project with the Notepad provided by windows a…… -
Cross domain, custom query and paging of spring boot (5)
Cross domain We have initially made a protected rest API, but we haven't covered a very important issue in the front-e…… -
Introduction and example analysis of spring transaction isolation level
This paper mainly studies the introduction and examples of spring transaction isolation level, as follows. When two tr…… -
Creation and operation of spring boot project (picture and text)
summary I haven't played spring boot yet. Now more and more companies are using it and have to learn. This is the begi…… -
Detailed steps for installing Jenkins under CentOS 7 system
This article mainly introduces the relevant contents about installing Jenkins in CentOS 7 for your reference and learn…… -
How spring boot uses spring security for security control
When writing web applications, we often need to do some security control on the page. For example, users without acces…… -
Java graphic verification code generation tool class web page verification code
Recently, I made a verification code and found many problems with reference to online cases. I specially modified and …… -
Spring boot integration mybatis example code (concise version)
summary Now, most Internet applications still use mybatis to operate databases. This article introduces how to integra……