Using IDEA for the first time, combining mvn and Spring to build a Web project

Build a simple web project by using idea, mvn and spring Recently, we have been using webstorm for front-end development and verification, but we haven't studied how to integrate back-end development. Now we have time to simply understand the process of front-end and back-end integration. In the middle Experienced person If th ...

Posted by gite_ashish on Sat, 28 Dec 2019 10:36:01 -0800

Advanced Functional Testing in Testing Using Docker in SpringBoot

Recently, I have learned a lot of new knowledge. Thank you for your excellent teacher's detailed explanation. This blog records what I think. Want to learn more about functional testing in the Spring Boot project?This article takes you to learn more about using the Docker container in testing. This article focuses on applying some best practice ...

Posted by garygay on Sat, 28 Dec 2019 02:30:12 -0800

(15) Integrating spring cloud cloud Architecture - commonservice SSO service building (1)

We have introduced the knowledge points of Spring Cloud and oauth2 in the previous several articles. Today, we will use Spring Cloud and oauth2 to build commonservice SSO service. In this section, we just build the basic platform of commonservice SSO. If you don't talk about it, record the steps directly: 1. Create the maven project commonserv ...

Posted by Beauchy on Fri, 27 Dec 2019 12:28:33 -0800

Spring Cloud Eureka

Eureka is responsible for service discovery in Spring Cloud. Service discovery needs to solve the problem of how to find the location of service provider in the network. Server side In the file menu of the Spring Tool Suite, click new Spring Starter Project. Then add the @ EnableEurekaServer tag to the entry method. import org.springframework.b ...

Posted by atstein on Fri, 27 Dec 2019 10:44:10 -0800

Spring data integrates JPA (specifically implemented as (Hibernate));

Here, we take Maven as an example to send the map first, then the text information of Maven and configuration file (easy to copy and paste); the Oracle11g database jar package is in the lib directory of Oracle database installation, which is not specifically introduced here Spring integrates Jpa configuration files: be careful, ...

Posted by manyamile on Thu, 26 Dec 2019 13:40:04 -0800

Spring boot integrates vue

order This paper mainly studies how to integrate vue in springboot project maven <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> Create a new springboot web project. By default, static and templat ...

Posted by Lexas on Thu, 26 Dec 2019 11:45:56 -0800

13. Using Spring container under Spring web project

QQ group: Java data sharing group 59174518 Suppose we create the ApplicationContext container according to the method we learned @Test public void fun1() { // 1. First, create the container, ApplicationContext applicationContext = new ClassPathXmlApplicationContext("ApplicationContext.xml"); // ...

Posted by mrinfin1ty on Thu, 26 Dec 2019 09:29:19 -0800

How to restart Spring Scheduler gracefully

Timing task is a common function. In some cases, you need to restart or reset the Scheduler Job, but the official API does not provide a method similar to restart, so how to complete this requirement? Spring Quartz Spring Quartz(http://www.quartz-scheduler.org/documentation/ )It is a complete set of Cron Job architecture, which can complete com ...

Posted by Jasp182 on Wed, 25 Dec 2019 23:52:08 -0800

spring boot packaging and centos deployment

Packaging and deployment of spring boot First, packing There are many ways to package spring boot. Some of them are war, jar, or directly submitted to github for packaging and deployment through jekins. This is mainly about how to make jar for deployment. War is not recommended, because springboot is suitable for front-end and back-end separati ...

Posted by seanlyons on Wed, 25 Dec 2019 13:47:46 -0800

Google's open source dependency on injection and storage is smaller and faster than Spring!

Guice, an open-source dependency injection Library of Google, compares with Spring IoC Smaller and faster. Guice is widely used in elastic search. This paper briefly introduces the basic concept and usage of Guice. Learning objectives   Overview: understand what Guice is and what characteristics it has; Quick start: learn Guice through example ...

Posted by darkhorn on Wed, 25 Dec 2019 01:48:02 -0800