JSP&EL expression & MVC & comprehensive case of three-tier structure

JSP Today's goal: Understand JSP and its principleAble to use EL expressions and JSTL tags in JSPUnderstand MVC pattern and three-tier architectureIt can complete the function of adding, deleting, modifying and querying brand data 1. JSP overview ==jsp (full name: Java Server Pages): Java server page== It is a dynamic web page tech ...

Added by starram on Fri, 18 Feb 2022 05:48:37 +0200

Java static proxy and dynamic proxy

Java static proxy and dynamic proxy @author: Jingdai @date: 2021.05.03 proxy pattern Provide (wrap) a proxy for the target object, which can control access to the target object. Call the target object through the proxy objectProxy objects can add monitoring and review processing Static proxy Both the proxy class and the target object shou ...

Added by trexx on Fri, 18 Feb 2022 05:38:36 +0200

Java multithreading learning notes

Start with selling tickets Let's look at a classic example of multithreading: create three windows to sell tickets, and the total number of votes is 100. Look at this code first: package com.xzc; class Window extends Thread{ public Window(){ } public Window(String name){ super(name); } private int ticket = 100; ...

Added by fahim_junoon on Fri, 18 Feb 2022 05:03:04 +0200

AQS java concurrency cornerstone

AQS is a basic package under the java locks package. It implements the serializable interface and inherits the AbstractOwnableSynchronizer. Its important class attributes include state representing its state, Node head tail representing queue, and exclusiveOwnerThread of AbstractOwnableSynchronizer. The bottom layer of the lock method of Reent ...

Added by writer on Fri, 18 Feb 2022 04:54:15 +0200

pay? It's impossible! 20 lines of Python code to implement a permanent free PDF editing tool

Pdf (Portable Document Format), Chinese name "Portable Document Format", is a file format we often come into contact with. Documents, documents Many are in PDF format. With the advantage of stable format, it enables us to optimally maintain the original color and format in the process of printing, sharing and transmission.   PDF ...

Added by aniesh82 on Fri, 18 Feb 2022 04:26:34 +0200

Spring MVC Basics

springMVC ----HELLO word 1. Configure the development environment and import the spring MVC dependency <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>RELEASE</version> </dependency> < ...

Added by alexislalas on Fri, 18 Feb 2022 04:16:40 +0200

Implementation of decoration acceptance management system based on Java springboot + layui

preface: With the development of science and technology and the unique living environment, more and more people pursue the progress of science and technology. Therefore, in today's architectural decoration engineering, we should not only consider the needs of customers and the coordination and unity with the building structure, but also consi ...

Added by wdseelig on Fri, 18 Feb 2022 04:10:41 +0200

Detailed explanation of HashMap source code

summary HashMap allows null keys and values. Hashtable does not allow null values or null keys. NullPointerException will be thrown. The time complexity of get put is constant. HashMap has two parameters that affect its performance: initial capacity, initial capacity and load factor. Capacity refers to the number of bucket s, that is, the l ...

Added by svan_rv on Fri, 18 Feb 2022 03:23:56 +0200

Log4j2 asynchronous logging and garbage collection

Asynchronous log The biggest feature of log4j2 is asynchronous logging. Its performance improvement mainly benefits from asynchronous logging. Let's see how to use log4j2 asynchronous logging. Synchronization log Asynchronous log Log4j2 provides two ways to implement logging, one through AsyncAppender and the other through asyncloger, cor ...

Added by mwaw on Fri, 18 Feb 2022 03:23:17 +0200

Notes + reflection notes

Reflection: the soul of frame design The first thing to write is *. java The file is generated by the compiler *.class Finally, the bytecode is run through the virtual machine *.class file * Framework: semi-finished software. Software development can be carried out on the basis of the framework to simplify coding * Reflection: encapsulating ...

Added by coolboarderguy on Fri, 18 Feb 2022 02:10:18 +0200