Three hundred lines of Java per day (01-02 days, environment construction and basic syntax)

Three hundred lines of Java per day (01-02 days, environment construction and basic syntax) Note: here are the synchronous notes and records of JAVA self-study and understanding. If you have any questions, please correct them @[TOC] (article directory) preface At the undergraduate stage, I have never been in contact with java, so the lan ...

Added by ares on Mon, 21 Feb 2022 18:59:41 +0200

Project practice (P1) (Day 28)

catalogue Learning objectives: Learning content: Define CRM system for project analysis and division of project system modules Concept: System module division Basic module marketing management Customer management: Service Management: Data report: Design database table structure Marketing management module Customer management mod ...

Added by amosse on Mon, 21 Feb 2022 18:21:20 +0200

[Spring5] 2 - IOC container concept, application and method, based on xml and annotation

IOC concept and principle IOC concept IOC (Inversion of control) The process of creating and calling objects is handed over to Spring for managementPurpose of using IOC: reduce coupling IOC entry case: https://blog.csdn.net/CherryChenieth/article/details/123043600?spm=1001.2014.3001.5501 IOC underlying principle: xml parsi ...

Added by pesale86 on Mon, 21 Feb 2022 18:18:53 +0200

Learning spring MVC

SpringMVC First of all, let's learn about the classic MVC mode. The full name of MVC is Model View Controller. M refers to business model and data model, V refers to user interface and C refers to controller. The purpose of using MVC is to separate the implementation codes of M and V, so that the same program can use different expressions. ...

Added by benwhitmore on Mon, 21 Feb 2022 17:36:28 +0200

Day25 communication between Java threads (unfinished)

Multithreading (Continued) Lock lock Although the synchronization code block and synchronization method solve the thread safety problem, they can't express where the Lock is added and where the Lock is released, so in jdk1 After 5, a new Lock object is provided: Lock Lock is an interface with two methods: void lock(): lock; void lock(): rel ...

Added by Dutch MaFia-boy on Mon, 21 Feb 2022 15:59:47 +0200

Java Web Learning of CT -- Servlet API

8 Servlet API Servlet life cycle: instantiation, initialization, service and destruction Initialization methods: init(), init (config). If we need to do some preparatory work during Servlet initialization, we can override the init method 8.1 ServletConfig Get the initialization data of ServletConfig public class Demo01Servlet extends Http ...

Added by Thatsmej on Mon, 21 Feb 2022 15:52:39 +0200

nacos - do you understand?

preface: The previously mentioned zookeeper of the registration center designated by dubbo's official website, now let's talk about the more commonly used nacos nacos: it is an Alibaba project focusing on service discovery and configuration management. nacos can be integrated with many technologies. Let me talk about the commonly used integra ...

Added by ohdang888 on Mon, 21 Feb 2022 13:42:17 +0200

ATP application test platform -- Filter, Interceptor, Resolver and Aop in java application, can you understand it?

preface Filter, Interceptor, Resolver and Aop are technologies often used in our application development. In this section, we will introduce their usage and application scenarios. text filter Filter is a means of preprocessing web resources that depends on the existence of servlet. It does not depend on the start of spring container. It ...

Added by CoolAsCarlito on Mon, 21 Feb 2022 13:15:08 +0200

Secrets you don't know about synchronized

Synchronized principle Chapter one: three problems of concurrent programming visibility concept Visibility: when one thread modifies a shared variable, other threads get the latest information immediately after the modification demonstration //1. Static member variable private static boolean var = true; public static void main(String[] ...

Added by Steveo31 on Mon, 21 Feb 2022 13:11:43 +0200

After using the MyBatis interceptor, the fishing time is long again.

scene In the development of back-end services, the popular framework combination is SSM (SpringBoot + Spring + MyBatis). When we develop some business systems, there will be many business data tables, and the information in the tables will be inserted again, and many operations may be carried out in the whole life cycle. For example, when we ...

Added by dibyajyotig on Mon, 21 Feb 2022 12:32:37 +0200