spring learning notes

1. Spring overview 1.1 INTRODUCTION Spring: spring -- > brings spring to the software industryIn 2002, Rod Jahnson first launched the Spring framework prototype interface21 framework.On March 24, 2004, the Spring framework was redesigned based on the interface 21 framework and released the official version of 1.0.It's hard to imagine Rod J ...

Posted by shibiny on Wed, 15 Dec 2021 15:55:03 +0100

RestFul interface design

1. Rest and RestFul REST (English: Representational State Transfer, referred to as REST), Representational State Transfer, refers to a set of architectural principles. Restful: a web service or web application that complies with the rest principle. 2. Six elements of API design Resource path (URI), HTTP verb (Method), query string, status c ...

Posted by horsleyaa on Wed, 15 Dec 2021 14:07:51 +0100

Crazy God says -- Spring learning notes

Spring 1.1 INTRODUCTION Spring: Spring ------ > brings spring to the software industry In 2002, the prototype of spring framework, interfaace21 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 ...

Posted by Druid on Wed, 15 Dec 2021 08:35:23 +0100

Object oriented advanced

1, Member variable 1. Differences between member variables and local variables The position in the class is different: the member variable is outside the method in the class; A local variable is in a method or code block, or on a method declaration (in a parameter list)Memory locations are different: member variables are in the heap (static ...

Posted by lelelow on Wed, 15 Dec 2021 06:27:30 +0100

Implement read-write separation in the project

 1,AbstractRoutingDataSource     Spring boot provides AbstractRoutingDataSource to select the current data source according to user-defined rules, so that we can set the data source before executing the query. The data source that can be dynamically routed is implemented before each database query operation. Its abstract method determineCurre ...

Posted by essexboyracer on Wed, 15 Dec 2021 02:28:21 +0100

Summary of Java core programming (IV. exceptions and threads), senior Java Architect of Netease

1.3 default mechanism for exception generation and handling The default processing process for exception generation is parsing (you can understand it): By default, an exception object, ArithmeticException, will be automatically created in the exception code The exception will be thrown to the caller from the point in the method, and the ...

Posted by Saphod on Wed, 15 Dec 2021 00:06:14 +0100

First knowledge of Spring framework

9. Get acquainted with Spring framework This section mainly introduces the ecological environment and concepts of Spring framework. In addition, compared with the traditional methods of creating objects, it introduces the methods of IOC container creating objects through nonparametric construction and parametric construction, and briefly ex ...

Posted by jpowermacg4 on Tue, 14 Dec 2021 20:33:16 +0100

Initial Spring MVC [medium]

ps: continued 5, Picture upload 5.1 general spring mvc uses Commons fileUpload by default to upload files. 5.2 introduction cases 5.2. 1 import coordinates <!--File upload--> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.4</vers ...

Posted by lee20 on Tue, 14 Dec 2021 02:09:50 +0100

Spring component registration - springboot actual e-commerce project mall4j

springboot e-commerce project mall4j( https://gitee.com/gz-yami/mall4j)java mall system source code1. bean registrationWe have a Person classpublic class Person { private Integer age; private String name; public Integer getAge() { return age; } public void setAge(Integer age) { this.age = age; } ...

Posted by UQKdk on Mon, 13 Dec 2021 05:26:39 +0100

[crazy God talking about Java] SpringCloud notes (50000 word nanny notes)

video [crazy God says Java] the latest tutorial of spring cloud, IDEA version Notes refer to flying man's (filled with many missing knowledge points) https://blog.csdn.net/weixin_43591980/article/details/106255122 Project complete source code Remember the third company~ Gitee : https://gitee.com/NYNUywg/springcloud Baidu online di ...

Posted by mcollyns on Sun, 12 Dec 2021 23:09:55 +0100