Learn spring 5 architecture from scratch -- Bean scope and automatic assembly technology
Scope of Bean
In Spring, the main bodies that make up the application and the objects managed by the Spring IOC container are called bean s. Simply put, a bean is an object initialized, assembled, and managed by the IOC container Among the several scopes, the request and session scopes are only used in web-based applications (don't care what ...
Added by jronyagz on Sat, 02 Oct 2021 00:39:52 +0300
The first experiment of Java EE
Experiment 1 Servlet and JSP technology -- the first user login module
1, Basic experiment -- Servlet and JSP basic development
(1) Experimental purpose
Master the concept of HttpServlet, related API s and development steps;Master the basic syntax of JSP technology;Master the use method of each implicit variable of JSP;Master the integration ...
Added by sloppstack on Sat, 02 Oct 2021 00:04:10 +0300
Filter and Listener
Filter
What is a filter
A filter is essentially an intercept of web resources, a process that is done, then handed over to the next filter or servlet, usually a to intercept request s for inbound processing, or an intercept process for returned response s
Filter Grammar Format
1. Create a class implementation interface
public class Si ...
Added by classix16 on Wed, 29 Sep 2021 20:29:55 +0300
java exception try, catch and finally execution order
1, try with return Scenario 1: (when the parameter is a basic type)
private int testReturn1() {
2 int i = 1;
3 try {
4 i++;
5 System.out.println("try:" + i);
6 return i;
7 } catch (Exception e) {
8 i++;
9 System.out.println("catch:" + i);
10 } f ...
Added by lynn897 on Tue, 28 Sep 2021 05:46:13 +0300
asp.net core hands-on item (09) - exception handling
This article explains the technical essentials related to asp.net core exception handling.
Configuring the asp.net core development environment
Asp.net core divides the development environment for Web applications into Development, Staging, and Production. These different environments mean self-describing and are no longer explained. In a dev ...
Added by internet-solution on Sat, 25 Sep 2021 20:08:38 +0300
SMVC1: introduction, case and principle of spring MVC
1. Introduction
1.1 MVC
MVC: model (dao, service), view (jsp) and controller (servlet). MVC is not a design pattern, but an architecture pattern. Of course, in the early web development, Model1 is used. In Model1, it is mainly divided into two layers: view layer and model layer.
1.2 SpringMVC
Definition: Spring MVC is a lightweight Web fram ...
Added by peri on Fri, 24 Sep 2021 12:31:55 +0300
Execution process, Controller, RestFul style, data processing and jump of Spring MVC
Spring MVC-1
summary
Spring MVC is a part of the Spring Framework. It is a lightweight web framework based on java to implement mvv.
View official documents: https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc
Why should we learn spring MVC?
Features of Spring MVC:
Lightweight, easy to learnFunny, request resp ...
Added by spheonix on Wed, 22 Sep 2021 19:22:59 +0300
Spring MVC restful style to realize addition, deletion, modification and query
Restful style:
A software architecture style, design style, not a standard, only provides a set of design principles and constraints. It is mainly used for client and server interaction software. The software designed based on this style can be more concise, more hierarchical, and easier to implement caching and other mechanisms.
URL definiti ...
Added by cyrixware on Tue, 21 Sep 2021 23:05:31 +0300
Using ASP.NET MVC framework to build login site summary
After a few days of simple learning of ASP.NET MVC framework and building a simple login site, I have a more overall understanding of Microsoft's MVC framework, including its structure on VS, the relationship between MVC layers, etc. Here I make a simple personal learning record and summarize the small project of building a login site.
In my o ...
Added by richie19rich77 on Mon, 20 Sep 2021 08:35:37 +0300
mybatis study notes
MyBatis
Chapter I framework overview
1. Three tier architecture
Basic concepts of MVC
In web development, mvc architecture pattern is used. Model: data, View: View, Controller: Controller
Controller: receives the request, calls the service object, and displays the processing result of the request. Currently, the servlet is used as th ...
Added by adrian28uk on Thu, 16 Sep 2021 01:03:55 +0300