JSON: Structured Data Format

JSON is a subclass of javascript and is gradually replacing XML as a better structured data format for Internet transmission. To understand JSON, it is important to understand that it is a data format, not a programming language. Syntax    //javascript var object = { "name":"lihua", "age":"20", "gender":undefined } ...

Posted on Thu, 03 Oct 2019 00:06:31 -0700 by doreg28

Use of Android Volley Open Source Framework

I. Use of Android Volley Open Source Framework A new network communication framework, Volley, was introduced at the Google I/O conference in 2013. It can communicate with HTTP as easily as AsyncHttpClient, or load images on the network as easily as Universal-Image-Loader. In addition to its simplicity ...

Posted on Wed, 02 Oct 2019 23:33:34 -0700 by irish

hadoop distributed file system

1. single version dhcp The source address is 0..0.0.0,The target address is 255.255.255.255, //The ports are UDP67 and UDP68, one sending and one receiving. Client to port 68 (bootps) //Broadcast request configuration, the server broadcasts the response request to port 67 (bootpc). //Default format ...

Posted on Wed, 02 Oct 2019 19:19:24 -0700 by azunoman

Configuration bean parant

siye@r480:~/svlution/workspace/springcore4322$ tree src/ src/ ├── main │   ├── java │   │   ├── log4j.properties │   │   └── ocn │   │   └── site │   │   └── springioc │   │   └── domain │   │   ├── Person.java │   │   └── User.java │   └── resourc ...

Posted on Tue, 01 Oct 2019 20:15:56 -0700 by PickledOnion

Spring Boot Configuration Class Loading Process

This article is based on Spring Boot version 1.4.1. RELEASE The startup code is as follows @SpringBootApplication public class SampleApplication { public static void main(String[] args) throws Exception { SpringApplication.run(SampleApplication.class, args); } } Then we start to analyze the process, because Spring has so many ...

Posted on Tue, 01 Oct 2019 18:40:53 -0700 by psycovic23

Internationalization of Spring MVC

On the page, text (not content), time and value can be localized according to the browser language settings: You can use JSTL's fmt tag. The configuration file (English, Chinese) and code are as follows: i8n_en_US.properties: i18n.user=User i18n.password=password i8n_zh_CN.properties: i18n.user = u ...

Posted on Tue, 01 Oct 2019 10:44:27 -0700 by Kia

Transaction Management in Spring 4-Spring: Transaction Isolation Level

Transaction Management in Spring Transaction Manager in Spring Experimental code Table in MySQL book table book_stock table account table Two interfaces BookShopDao.java public interface BookShopDao { //Getting the unit price of a book by its number public int findBookPr ...

Posted on Tue, 01 Oct 2019 04:22:34 -0700 by amarquis

Machine Learning for Real-time Computing SparkSpark of Big Data Series-Recommendation Implementation

Recommendation is a very popular technology. Provide the closest recommendation based on previous purchases, clicks and ratings. Amazon uses this technology to show you a list of items you might be interested in, drawing your information from past behavior. The recommendation engine behind captures u ...

Posted on Tue, 01 Oct 2019 04:00:34 -0700 by eva21

Andorid parent layout intercepts child layout click events

Today, there is a need to determine whether the user has passed the authentication after the user logs in successfully. If the user has passed the authentication, the function in APP will be used normally. Otherwise, no matter where the user clicks on the home page, the user account of the pop-up prompt ...

Posted on Mon, 30 Sep 2019 22:31:19 -0700 by GreenCore

MyBatis Plus-8 - Customize Global Operations

Customize global operations According to AutooSql Injector of Mybatis Plus, you can customize all kinds of sql you want to inject into the whole world, which is equivalent to customizing the method of automatic injection of Mybatis Plus. Previously, SQL statements that needed to be configured in xml are now injected when the mybatis environmen ...

Posted on Mon, 30 Sep 2019 17:59:42 -0700 by beinerts