Integration of spring cloud cloud service architecture - HongHu commonservice-eureka project construction process

Now we build the following for the eureka project of HongHu cloud. The whole process of building is very simple. I will record every step of the process. I hope it can help you:1. Create a maven project named particle-common-eureka and inherit particle-commonservice. The specific pom.xml configuration file is as follows:<?xml version="1 ...

Posted on Wed, 19 Dec 2018 22:18:05 -0800 by FarhanKhalaf

Spring Boot and Kotlin Timing Tasks

In writing Spring Boot applications, you will encounter such scenarios as: you need to send some messages, e-mails and other operations on a regular basis, or you may regularly check and monitor some signs, parameters and so on. Create timed tasks Writing timing tasks in Spring Boot is very simple. Here is an example of how to create timing tas ...

Posted on Tue, 18 Dec 2018 20:12:04 -0800 by Stickdragon

The problem of Publishing Web service interface on myeclipse spring+mybatis+axis2 and the way of personal implementation

Premise: Suddenly one day this month, there was a project docking that needed to use the interface published by axis2, which made it difficult for me. After all, I didn't even know how to publish the web service interface before. Later, the first interface, sayHi(), was released from Hello World; until then, it was smooth, but when it was integ ...

Posted on Tue, 18 Dec 2018 18:21:04 -0800 by winsonlee

Spring Cloud Builds Micro-Service Architecture: Service Registration and Discovery (Eureka, Consul) [Dalston Edition]

It's been a long time since Spring Cloud was updated to build a micro-service architecture. Since the beginning of writing Spring Cloud's topic content, it has gained a lot of reading and recognition. Of course, there are also some criticisms, including some very pertinent opinions and in-depth issues. It's also an opportunity for me to further ...

Posted on Tue, 18 Dec 2018 16:33:04 -0800 by pucker22

Java - What is IOC? JAVA pure code reflection technology simulates IOC

This article is reproduced from: https://user.qzone.qq.com/644556636/blog/1466713056 What is IOC technology, for many beginners, perhaps think how tall IOC. In fact, IOC is just like that. Knowing its implementation principle, IOC is no more than the number of bricks. Move slowly. IoC Inversion of Control (IoC) i ...

Posted on Mon, 17 Dec 2018 10:54:04 -0800 by mike_y

Spring MVC receives JSON data to Java objects and Java objects to JSON data

Today I started to write a project in the practical training course, using the SSM framework. Today, I have written the ajax data sending of login interface and login authentication code function, using bootstrap and Jquery.validator.js. When I write to Spring MVC using Ajax to send data in json format, I find that I always encounter 400 bad re ...

Posted on Sun, 16 Dec 2018 13:57:03 -0800 by prashant0812

Remove the ready-to-use spring mvc and integrate mybatis (crud + paging plug-in) to operate mysql

1. Auto-encapsulation of 32-bit uuid for insertion data by annotations 2. Automatically encapsulating insertion date by annotation 3. Annotation realizes automatic update date of update data 4. Paging query auto-encapsulation returns the total number of qualified queries 5. Encapsulating data validation for arbitrary requests 6. Encapsulating ...

Posted on Sun, 16 Dec 2018 06:12:04 -0800 by smiley_kool

Create Spring Book project and pom.xml and annotation parsing using IntelliJ Idea

New Spring Book Project Create a Project Create New Project ![Here's a picture description.](https://img-blog.csdn.net/2018062714183529?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3UwMTAzNTgxNjg=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70) Select Spring Initializr and JDK version Set up Group Arti ...

Posted on Sat, 15 Dec 2018 18:18:03 -0800 by cyball

Spring Boot Rapid Development Tool: Spring Boot CLI

Spring Boot CLI (Command Line Interface) is a command line tool that you can use to quickly build Spring prototype applications. With Spring Boot CLI, we can quickly build Spring Boot applications by writing Groovy scripts and run them on the command line. Let's learn how to install and use Spring Boot CLI. Install Spring Boot CLI ...

Posted on Sat, 15 Dec 2018 12:18:03 -0800 by Dynamis

Springmvc Knowledge 1 - Configuration File &URL& Annotation Component

configuration file web.xml Springmvc project is a dynamic web project, so we should build a dynamic web project first, and then we can add the relevant configuration. The total configuration attributes of a web project are in the web.xml file. When integrating other frameworks, we only need to add relevant configurations. <!-- T ...

Posted on Fri, 14 Dec 2018 16:42:03 -0800 by ayok