Java
-
LCN error: attempts to join the non-existent transaction group
Error message: Solution: configure the following contents in TX LCN project to solve the problem: Repackaging is requi…… -
Java 5 minutes to insert tens of millions of data
Although the insertion may not be completed in 5 minutes, it depends on the inserted fields. If there are too many fie…… -
Java obtains virtual machine memory, operating system memory and their threads
Why get virtual machine memory and operating system memory? Virtual machine memory, which mainly refers to JVM. In ord…… -
Spring AOP’s log management java web interface online configuration code generator
The imported dependencies are all Java Web interface online configuration code generator. You only need to import the …… -
Page redirection of spring (18) and form processing of spring (17)
First of all, the Maven dependency of this example can reuse the form processing of spring (17) There is an important …… -
Java time conversion
This example is enough to illustrate how data of date type is converted to long type, and how long type date is conver…… -
Introduction example of spring (II)
Any programming technology, especially the introductory example, is usually Hello world, and I also follow this indust…… -
Java generates barcode, PDF and HTML FreeMarker generates HTML code according to the model
For generating HTML from Java, please refer to my article: generating HTML code according to FreeMarker model -
Application example of crawling blog data using java jsup
Import Maven dependencies Select the website you want to crawl (here I take crawling my own blog posts as an example) …… -
The difference between hibernate opensession and getcurrentsession
The difference between opensession and getcurrentsession: (1) each time opensession obtains a new session object, whil…… -
Sharing of Java related framework data and its basic data, advanced data and test data
Personal note: just for sharing, not for others. May all programmers soar freely in the programming world! In my opini…… -
Spring (14) programmatic transactions (Continued)
Spring programmatic transaction management The programming transaction management method allows you to manage transact…… -
Two common solutions to undefined problems in front-end JSON acquisition
A friend from the blog Park answered: Why add "(" ("+ data +")); / / "to eval? The reason lies in the problem of Eval …… -
Restful example of SSM framework
Demo environment: Maven + Spring + spring MVC + mybatis plus or mybatis + jdk8 I think there should be no problem with…… -
Custom events for spring (10)
The simple process of writing custom events is as follows: (1) Write customevent java (2) Write customeventpublisher j…… -
Shiro actual combat series (15): Spring integration Shiro
Shiro's JavaBean compatibility makes it ideal for using spring XML or other spring based configuration mechanisms. The…… -
Multi data source configuration of SSM framework
Application scenario of multiple data sources: mainly how to combine multiple databases to meet business requirements …… -
Three principles of code abstraction in Java Web interface online configuration code generator programming
For the code generated by directly running the main method, please refer to my article: the code generator of MP pract…… -
MVC framework of spring (XVI)
MVC framework tutorial Spring web MVC framework provides a model view control architecture and components that can be …… -
SQL stored procedure of spring (13)
The simplejdbccall class can be used to call a stored procedure containing in and out parameters. You can use this met…… -
Swagger bootstrap UI of springfox swagger
Swagger bootstrap UI is an open source swagger project in China. It has been three years since it was launched. After …… -
Shiro actual combat series (7): real
Realm is an application specific security data access platform (such as users, roles and permissions). Realm converts …… -
Renren open source code generator
This article mainly includes three parts: introduction, code generation demonstration, code analysis (not very in-dept…… -
Spring cloud ribbon
Spring cloud implements load balancing through the ribbon. 1、 Add Maven dependency 2、 Application YML configuration …… -
Spring (XV) declarative transaction
Declarative transaction management allows you to manage transactions with the help of configuration rather than source…… -
FreeMarker generates java code from templates
FreeMarker generates java code based on templates. In this sentence alone, you must also know its application, such as…… -
Renren security of Renren open source read “writing high quality code: 151 suggestions for improving Java programs”
Ren security, I will study it in detail from this week. The previous research is only shallow. As stated in reading "w…… -
Spring (XX) uses log4j to record logs
Log records are also commonly used, such as exception information records or other relevant information records. Good …… -
Druid encryption
As for why to encrypt, it mainly prevents too many people from knowing the database password, which may cause losses t…… -
Lombok problem
Today, I studied Dubbo as a distributed open source project Dubbo app. In order to eliminate the conflict and interfer…… -
Singleton mode and JDBC
Singleton pattern is a common software design pattern. Its core structure contains only a special class called singlet…… -
Merge list and de duplication in Java 8
The core code is as follows: The final result output is a B C. Application scenario: sometimes we need to merge two re……
