Java
-
A simple use of reflection in Java
brief introduction Firstly, some impractical explanations are introduced: the java reflection mechanism is that all th…… -
struts2. 2.3+spring3. 1.0+mybatis3. 1.0 framework integration simple demo
Recently, the company wants to develop new projects and use the struts 2 + mybatis + spring framework, so after learni…… -
Realization of payment function under the first-line of Java wechat code scanning payment mode
1、 Preparatory work Countless people have come to ask about the development of mode 1, so they post it here for refer…… -
There is a problem with Java. Javax servlet. http. Httpservlet was not found solution
javax. servlet. http. HttpServlet was not found: Recently, I found this javax servlet. http. The problem of httpservl…… -
Method for converting object bean and dbobject to each other when operating mongodb with Java (recommended)
As follows: The above is all the contents of the method (recommended) of mutual conversion between object bean and dbo…… -
Reflection mechanism and application scenario of java learning
preface: *** Version x or retrofit, and the early view annotation framework all use java reflection mechanism more or …… -
Sending mail for JavaMail tutorial (3)
The JavaMail API defines a Java mail. Transport class, which is specially used to perform mail sending tasks. The inst…… -
Log4j implementation method of outputting logs to different files by level
As follows: The above is all about the implementation method of log4j outputting logs to different files by level. I h…… -
Detailed explanation of MySQL storing Java object instances
MySQL stores Java objects MySQL sets the field to blob To save an object, first serialize the object as byte [] and us…… -
Handling method of exception when gson parses empty string
preface In actual development projects, the server often uses the empty string "" as the return result to represent th…… -
Method for deleting specific elements in ArrayList loop of Java collection class
In project development, we may often need to dynamically delete some elements in ArrayList. One wrong way: The above m…… -
Method of realizing Base64 encoding and decoding in Java
Base64 and other similar coding algorithms are usually used to convert binary data into text data, which is designed t…… -
Java Web realizes online payment function
1. Overview of online payment What is online payment? Yes, it's spending money online! You must have had such an exper…… -
Java WeChat payment official account payment, scan code payment example
Wechat payment has become more and more popular, and then there are many products that can quickly access wechat payme…… -
java. util. concurrent. Solution to executionexception problem
java. util. concurrent. Executionexception error message. The solution is given here. You can change it according to s…… -
Detailed explanation of singleton pattern in Java
Concept of singleton mode: Singleton pattern is a common design pattern in Java. There are three kinds of singleton pa…… -
Summary of experience and experience of calling wechat cash red envelope interface with Java
After reading the blog about wechat payment written before these days, many people still read it. After reading the me…… -
Java converts the effective length in byte into string instance code
Generally, we use byte to receive the read data. If the data does not reach the size defined by byte, we will directly…… -
Detailed explanation of calling MySQL stored procedure in Java implementation
preface Stored procedure is stored in the database and called again after the first compilation. It does not need to b…… -
Spring type conversion conversionservice converter parsing
Take string to date as an example: Define converter: To configure spring: The above is the spring type conversion conv…… -
Summary of wechat development agreement
1. The published message corresponds to an ID (as long as a single direction is unique, the server may judge repeated …… -
Java query all tables of Oracle database databasemetadata usage (detailed explanation)
I Get an instance of this object II Method gettables usage Prototype: This method can return the result set resultset,…… -
Summary of seven common uses of Java enumeration (must see)
Usage 1: constant At jdk1 Before 5, we defined constants as: public static fianl. Now, with enumeration, you can group…… -
Spring reports an error: the prefix “context” of the element “context: component scan” is not bound. Solve the problem
An error is reported in the spring configuration file: the prefix "context" of the element "context: component scan" i…… -
Construction and validation of Java and Ceylon objects
When transforming java code into Ceylon code, I sometimes encounter situations where some Java class constructors conf…… -
The imitation of Java Web development knows the complete code of the home page
Having nothing to do, I wrote down the simulation with reference to some materials according to the home page of Zhihu…… -
Classification module of Java Web Book Mall Design (2)
This article is brief and mainly introduces the classification module in Java Web Book Mall. The specific contents are…… -
MyEclipse8. 6. How to solve the problem that there is no small m logo on the icon of Maven project for the first time
myeclipse8. 6. After importing Maven project, it is recognized as an ordinary java project, that is, there is no small…… -
How to use embedded MySQL in Java
This document mainly introduces the use of embedded MySQL in Java. For some application projects, it is necessary to p…… -
A practical example of exporting word with freemaker in Java
In a recent project, I had to export word documents for a long time. I found that it was more convenient and easy to u…… -
Eclipse installation SVN online plug-in tutorial
Eclipse installs the online plug-in for SVN Svn is very helpful for developing Java language with eclipse. Different p…… -
Summary of three rounding functions in Java
As follows: 1. Rounding off decimals: math floor(3.5)=3 2. Rounding: math rint(3.5)=4 3. Rounding: math ceil(3.1)=4 Th……