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

Chapter 20: Comments

Preface 1. Annotations are also called metadata 2. The advent of annotations simplifies some duplicate development and often works with aop 3. Annotations without arguments are called label annotations 4. Cleaner, more readable code for easy expansion 5. and compile-time type checking 1. Meta-Notes Meta Annotation is responsible for ...

Added by Gary Kambic on Fri, 10 Sep 2021 07:29:46 +0300

Spring Cloud learning notes

Why learn Spring Cloud In project development, with more and more businesses, it leads to high coupling between functions, low development efficiency, slow system operation, difficult to maintain and unstable. Microservice architecture can solve these problems, and Spring Cloud is the most popular implementation of microservice archit ...

Added by johnnyv on Wed, 08 Sep 2021 08:36:52 +0300

Spring cloud quick start, how do Java developers become architects step by step

Feign is a declarative and templated HTTP client developed by Netfix. It can help us call HTTP API more quickly. It supports its own annotations, Jax RS annotations and spring MVC annotations, and also integrates Ribbon and Eureka. By using feign, the Rest request can be hidden and disguised as a Controller similar to spring MVC. You don't have ...

Added by jayskates on Mon, 06 Sep 2021 05:22:46 +0300

[spring cloud collection, Java interview questions for junior programmers of the company

2, How Eureka works 3, Eureka environment construction 1. Create a new moudle 2. Change pom 3. Write yml 4. Startup class 5. Test 4, payment8001 registered in Eureka 1.pom add dependency 2. Change yml 3. Annotate the startup class 4. Test 5, order80 register in Eureka The tests are as follows 1, What is Eureka? ============= E ...

Added by AudiS2 on Sun, 05 Sep 2021 20:31:06 +0300

lambda expression - shawn, how to ensure high availability

There is only one abstract method in the interface: Modifier interface Interface name { public abstract Return value type method name(Optional parameter information); // Other non abstract method content } Since the public abstract keywords in the interface can be omitted, the above functional interface can be written in the follow ...

Added by lispwriter on Sat, 04 Sep 2021 02:59:40 +0300

Two encoding formats for Post requests: application/x-www-form-urlencoded and multipart/form-data

In common business development, POST requests are often used in these places: when front-end forms are submitted, when interface code is invoked, and when the Postman test interface is used.Let's take a look: 1. When a front-end form is submitted application/x-www-form-urlencoded Form code: <form action="http://localhost:8888/task/" meth ...

Added by brij_theinvader on Thu, 02 Sep 2021 19:28:07 +0300

[Spring MVC learning notes 3] deeply practice Spring MVC controller

In the previous Blog, we implemented the first framework program of Spring MVC based on configuration and annotation respectively. Next, this Blog makes an in-depth study and Discussion on our Controller. Since it is a Controller, it must contain two topics: receiving requests and returning responses. We will make an in-depth study on these two ...

Added by HaLo2FrEeEk on Wed, 01 Sep 2021 21:45:32 +0300