SpringBoot learning - building framework

brief introduction Advantage Spring Boot can run independently in the form of jar package. Running a Spring Boot project only needs to run through java -jar xx.jar. Spring Boot can choose to embed Tomcat, Jetty or underwow, so we don't need to deploy the project as a war package. Spring provides a series of starter POMS to simplify Maven's de ...

Posted on Wed, 13 Nov 2019 09:16:07 -0500 by reflash

Spring Boot 2.x + myBatis full xml implementation CRUD and automatic table building

Blogger wrote an introduction before Spring Boot 2.x + myBatis full annotation implementation CRUD and automatic table creation This time, we will write a demo based on xml configuration. The main supported functions are the same as before:(1) the database automatically creates tables, such as the user table in this example.(2) database CRUD(cr ...

Posted on Tue, 12 Nov 2019 16:36:19 -0500 by emilyfrazier

Four solutions for bean injection in springboot mq listening interface

In the project, mq is used for the first time. When a message is received in the listener interface of consumer and the relevant business layer interface is called, it is found that it cannot be injected. Several ways are summarized to solve this problem with the help of online materials and colleagues, for your reference: Mod ...

Posted on Tue, 12 Nov 2019 13:03:06 -0500 by kubis

JavaScript - dynamically loading script and style styles

The content of a web page is understood as an XML or web page itself is an XML document. XML documents have a very special symbol: "tag" is also called "node". A basic web page format <!DOCTYPE /> <head></head> <body><body /> These are the most basic forms, but in fact it omits the oute ...

Posted on Tue, 12 Nov 2019 11:51:42 -0500 by man12_patil3

[android] record of call dial function implementation

I remember dial and call wrongly in the exam a few days ago, so I write a small demo here to make a difference and deepen my impression.   It is mainly used to realize the call function, and the dial function is used for comparison, with few words and code. 1. Create a layout file as follows: <?xml version="1.0" encoding="utf-8"?> ...

Posted on Tue, 12 Nov 2019 11:31:12 -0500 by php-coder

Getting started with Ajax

1. What is ajax ajax is the abbreviation of technical terms: Asynchronous: asynchronous; JavaScript:JavaScript language; And: and, and; XML: data transfer format ajax is a client sending a request to the server over HTTP 2. Properties and methods of Ajax objects Attribute readyState: Ajax state code   ...

Posted on Tue, 12 Nov 2019 10:56:20 -0500 by Dracolas

Flutter hybrid development: a detailed guide to integrating flutter modules in iOS projects

This article starts with WeChat public's "Android development tour". Welcome to pay more attention to get more dry goods. Preface The previous article explained how Android native project integrates with Flutter project, Flutter hybrid development (I): detailed guide to integrating flutter module in Android project , this article will ...

Posted on Tue, 12 Nov 2019 08:10:26 -0500 by ToddAtWSU

Source code analysis: scanning and building Mapper object initialized by Mybatis MapperProxy

Warm tip: This article is based on Mybatis.3.x version. MapperScannerConfigurer, Spring integrates the core class of Mybatis. Its function is to scan the Dao class in the project and create it as the mapper object of Mybatis, namely MapperProxy object. First of all, before entering the source code learning, let's take a look at the configurat ...

Posted on Tue, 12 Nov 2019 06:59:14 -0500 by subasi

Spock: a unit testing framework in Maven and Gradle

Maven Maven itself does not support other JVM languages (such as Groovy or Scala). To use it in a maven project, you need to use a third-party plug-in. For Groovy, the best option seems to be GMavenPlus (overriding GMaven plug-ins that are no longer maintained). Another option is to allow the Groovy eclipse compiler and Maven's plug-ins, but it ...

Posted on Tue, 12 Nov 2019 03:10:12 -0500 by sitestem

Android custom View and its practical application in the project (continuous update)

Preface Android custom controls are widely used in the project. Many cool looking special effects or the desired effects of the product are not directly provided in the native system controls. At this time, we need custom controls. But the difficulty of custom control is different. When we meet the desired control, we first want to see if there ...

Posted on Tue, 12 Nov 2019 02:05:02 -0500 by kaeserea