[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