包含标签:Java 的文章
-
Detailed explanation of spring boot using thymeleaf template
preface Thymeleaf is a template engine similar to velocity and FreeMarker, which can completely replace JSP. Compared …… -
Java 8 functional interface and functional interface examples
A functional interface is an interface that has only one abstract method, but can have multiple non abstract methods. …… -
Explain spring MVC request forwarding and redirection
Comparison between request redirection and request forwarding, httpservletresponse Sendredirect method and requestdisp…… -
spring boot 1.5. 4. Integrate Shiro + CAS to realize single sign on and permission control
1. Add Maven dependency (install cas-server-3.5.2 first. Please refer to the article for the installation steps) 2. Ad…… -
Perfectly solve the problem that spring declarative transactions are not rolled back
The @ transactional annotation is added to the service as usual. Why is there data inconsistency when querying the dat…… -
Detailed explanation of the use and parsing of property placeholder in spring
When we develop applications based on spring, we usually put the database configuration in the properties file Summary…… -
Retrofit + rxjava implementation downloads files with progress
Retrofit + rxjava is already the most mainstream network framework in the market. It is very easy to use it for ordina…… -
Java method example for reading files in the resource directory
This article mainly introduces the method of Java reading files in the resource directory. For example, this is the st…… -
Spring cloud uses zuul to implement API gateway service
Through the previous sharing, we learned about several core facilities of microservice architecture. Through these com…… -
Java uses delimiters to connect instances of each element in an array
As follows: The above example of Java using separators to connect each element in the array is all the content shared …… -
Download file with progress display based on retrofit + rxjava
This example shares the specific code of retrofit rxjava to download files for your reference. The specific contents a…… -
How to solve instant high concurrency in Java Web
1. Any high concurrency request will always have an order 2. The data structure of Java queue is the value order of fi…… -
Java implements the copying of files or folders to the specified directory instance
Sort out the documents, search out the code of a java implementation file or folder copied to the specified directory,…… -
Several methods of writing user information to database with high concurrency in Java
Suppose such a situation exists Multiple users write to the database. Our business logic stipulates that each user can…… -
Detailed explanation of AOP annotation development example in spring
1、 Introduction AOP mainly includes terms such as notification, pointcut and connection point, which are introduced a…… -
Java spring annotation based AOP exception handling method
1、 Foreword When the project was just developed, it was not well prepared. When the development reaches a certain lev…… -
Method of checking QQ number by Java regular expression
Java regular expression Regular expressions define the pattern of strings. Regular expressions can be used to search, …… -
Understanding of hibernate and mybatis in Java Web learning tutorial
preface In Java Web development, the most classic is the SSH framework combination and SSM framework combination. Now …… -
Spring boot integrates Druid database connection pool
1. Preface Druid database connection pool is open source by Alibaba. It is known as the best database connection pool …… -
Java convolutional neural network (Introduction to cupcnn)
preface In machine learning, convolutional neural network is a deep feedforward artificial neural network, which has b…… -
Java custom log output file (log4j log file outputs multiple custom log files)
Log4j outputs multiple custom log files. If you need to output independent log files in practical application, how can…… -
How to write the map parameter of the list array passed in by mybatis
Foreach is mainly used to build in conditions. It can iterate a set in SQL statements. The attributes of foreach eleme…… -
Spring boot cross domain access implementation code
The current version of spring is 4.3 nine PS: spring boot server side settings allow cross domain access Updated on Ap…… -
Mybatis dynamically inserts the instance code of the list parameter passed in
The example code of mybatis dynamically inserting a list is as follows: The example code of the list parameter passed …… -
Parsing the method of mybatis continuously passing multiple parameters
Mybatis is an excellent persistence layer framework that supports common SQL queries, stored procedures and advanced m…… -
Usage of mybatis passing multiple parameters for SQL query
PS: there are two ways to pass multiple parameters in ibatis3: one is to use Java Map, the other is to use JavaBeans. …… -
Detailed explanation of mybatis method to prevent SQL injection
SQL injection is a very simple attack, but it is still very common today. The reason is no patch for stupid. Why? Let'…… -
Explain in detail how to use spring security to solve CSRF problems
CSRF introduction CSRF (Cross Site Request Forgery), Chinese Name: Cross Site Request Forgery, also known as one click…… -
Complete example tutorial of spring MVC + fastjason + swagger integration
Basic part 1. Introduction to fastjason Fastjson is a Java library that can be used to convert Java objects into JSON …… -
How to use MySQL for Java Web Learning in the project
preface Awkward: access denied for user 'root' @'localhost 'using password yes Sometimes, when connecting to MySQL dat…… -
The list object list in Java implements the method of de duplication or retrieval and sorting
preface Because I have encountered several list de duplication and sorting during the interview, I feel it necessary t…… -
Spring boot uses druid and monitoring configuration methods
The default data source of spring boot is: org apache. tomcat. jdbc. pool. DataSource Druid is the best database conne……