ByxContainerAnnotation -- an annotation based lightweight IOC container

ByxContainerAnnotation is a lightweight IOC container based on annotations that mimics Spring IOC. It supports constructor injection and field injection, circular dependency processing and detection, and has a highly extensible plug-in system. Project address: https://github.com/byx2000/byx-container-annotation Maven introduction <reposit ...

Posted by brewmiser on Thu, 10 Feb 2022 10:27:34 +0100

File upload and download

Concept and principle of file upload Local file copy of file upload File copy for different devices concept The essence is to transfer the files in one computer to another computer (server) through io stream according to the network protocol principle Network communication protocol ip The corresponding device can be fo ...

Posted by yacaph on Thu, 10 Feb 2022 10:27:15 +0100

[easily understand design mode] observer mode

[design mode] observer modeprefaceThe definition of Observer mode: it refers to the one to many dependency between multiple objects. When the state of an object changes, all objects that depend on it are notified and automatically updated. This mode is sometimes called publish subscribe mode and model view mode. It is an object behavior mode.Ob ...

Posted by holowugz on Thu, 10 Feb 2022 09:46:05 +0100

Basic Java syntax - Day2

1. Keywords and reserved words 1.1 definition of keyword Definition: a string (word) with special meaning given by the Java language for special purposes Features: all letters in the keyword are lowercase 1.2 reserved word Java reserved word: the existing Java version has not been used, but the later version may be used as a keyword. A ...

Posted by env-justin on Thu, 10 Feb 2022 08:43:45 +0100

Charm of design pattern I

Some thoughts on learning design patterns for the first time At present, I am reading the book "Dahua design pattern", which is cheap and easy to understand. The steps are in place That is to find that you can really improve the logic of your code, feel the convenience brought by design patterns, and understand why and what are ...

Posted by JonathanAnon on Thu, 10 Feb 2022 08:28:49 +0100

From Map -> HashMap step by step, please feel free to ask

Author: Mr. SM\Source: www.cnblogs.com com/king0/p/14176609. html1, MapMap 1.1 interfaceIn Java, Map provides key value mapping. The mapping cannot contain duplicate keys, and each key can only be mapped to one value.Based on Map key value mapping, Java Util provides HashMap (the most commonly used), TreeMap, Hashtble, LinkedHashMap and other d ...

Posted by Trenchant on Thu, 10 Feb 2022 05:52:26 +0100

Ajax asynchronous operation and relevant learning of Jason

Ajax The full name of AJAX is "Asynchronous JavaScript and XML". Using Ajax, we can update the page without refresh status, and realize asynchronous submission, which improves the user experience. The essence of Ajax is to asynchronously send a request to the server by using a special object (XMLHttpRequest) provided by the brow ...

Posted by gls2ro on Thu, 10 Feb 2022 05:04:24 +0100

30000 word express Servlet

catalogue 1, What is a Servlet Manually implement Servlet program 2, Common configuration errors 3, How to locate the Servlet URL to the Servlet program for access 4, Servlet lifecycle Servlet lifecycle summary 5, Distribution processing of Servlet request Vi. realize Servlet program by inheriting HttpServlet VII. Create Servlet progra ...

Posted by qbox on Thu, 10 Feb 2022 04:56:48 +0100

Stage 4: Spring MVC

1,Servlet + MVC 1. Functions of Servlet: 1. Servlet receives the user request and calls the corresponding business method 2. After the business processing is completed, the returned result is passed to Serlvet 3. The Servlet turns to the JSP according to the returned information, and the JSP renders the page 5. Give the newly rende ...

Posted by amargharat on Thu, 10 Feb 2022 04:42:09 +0100

Explanation of Java basic code syntax

Recently, I have spare time to code words. Although the foundation of Java is really basic, it is slow and difficult for me to learn. I think I can't forget that I can't learn linguistics. I decided to write this article piecemeal, and I want to write it as easy as possible to understand, so as to exercise my ability to speak human words. Let's ...

Posted by luisantonio on Thu, 10 Feb 2022 04:23:39 +0100