JQuery (selector focus)

1, What is jquery John Resig released a cross mainstream browser JavaScript Library in January 2006 to simplify JavaScript operation on HTML 2, Advantages of jquery Write less code and do more [write less do more]Free, open source and lightweight js library with small capacity          Note: i ...

Posted by daggardan on Tue, 30 Nov 2021 18:27:40 -0800

Spring Bean lifecycle and callbacks

1. Introduction Understand the Spring bean life cycle of Spring container management, including the understanding of Spring container and IoC. Understand both the Spring bean lifecycle callback handler and the postprocessor. The Spring Framework provides several callback methods to create beans and some methods to destroy beans in the Spring I ...

Posted by mlai4167 on Tue, 30 Nov 2021 13:25:24 -0800

On Spring timing task

Three kinds of timed tasks are based on principle Spring boot configuration timing tasks mainly include Spring Schedule, TimeTask provided by JDK and third-party quartz framework SpringBoot starts a scheduled task, which is mainly divided into the following two steps: The Scheduled task method needs to be annotated with @ ScheduledConfig ...

Posted by shaitand on Tue, 30 Nov 2021 12:01:57 -0800

Deep thinking on changing redirect from https to http

background Service deployment and jump are shown as follows: The user requests to load the specified application through Alibaba cloud through http. The application returns the jump path (status 302), but the jump path is http (not https), so it cannot be accessed 2.1 jump pseudo code: // ModelAndView mv.setViewName(WebCst.REDIRECT + "/adm ...

Posted by Hitman2oo2 on Tue, 30 Nov 2021 09:23:41 -0800

shell script deployment springboot (Revised)

shell script deployment springboot (Revised) explain The shell deployment springboot was sorted out before website: https://blog.csdn.net/shaoming314/article/details/120145215 However, the shell script does not have the option to stop, view and restart the service. It is not very good. This revision supports the options of stopping, restart ...

Posted by vchris on Tue, 30 Nov 2021 07:31:31 -0800

1, Spring introduction and hands-on experience

1,Spring 1.1 INTRODUCTION In 2002, the prototype of Spring framework, interface 21 framework, was launched for the first time. Spring framework is based on interface21 framework. After redesign and constantly enriching its connotation, it released the official version of 1.0 on March 24, 2004. Rod Johnson, the founder and famous author of ...

Posted by sowmithrii on Mon, 29 Nov 2021 19:13:59 -0800

Spring highlights summary

spring is actually a container, and IOC is one of them to collect our objects IOC create object User public class User { private String name; public User(){ System.out.println("User Nonparametric structure of"); } public String getName() { return name; } public void setName(String name) { ...

Posted by eleven0 on Mon, 29 Nov 2021 16:18:12 -0800

demo demonstration of spring clound Alibaba learning 02 Nacos service registration and discovery

1, Create local project Because microservice is an aggregate project, we need to create a blank folder locally as the local project workspace. All project modules are in the workspace. Remember that it must be a blank folder without anything in it or any Chinese on the pathOpen idea, select file - > open, go in and select the newly crea ...

Posted by fernado1283 on Mon, 29 Nov 2021 05:57:48 -0800

Spring's management of things

What is a thing Things can be regarded as a unit composed of several operations on the database at a time. When we are developing projects at the enterprise level, we are faced with an operation of business personnel, but actually a collection of multi-step operations to read and write to the database. Because data operations are executed ...

Posted by Ohio Guy on Mon, 29 Nov 2021 04:14:27 -0800

SpringBoot integrates JUnit, Mybatis, Mybatis plus and Druid

Integrate JUnit @SpringBootTest defines that Springboot04JunitApplicationTests is a Test class that supports injecting objects. Once injected, this object can participate in @ Test. Name: @ SpringBootTest Type: test class annotation Location: above the test class definition Function: set the spring boot startup class loaded by JUnit example: ...

Posted by scialom on Mon, 29 Nov 2021 03:56:03 -0800