Jetty is an open source servlet container that provides a runtime environment for Java based web content, such as JSP S and servlets. Jetty is written in the Java language, and its API is published as a set of JAR packages. Developers can instantiate the jetty container into an object, which ...
Posted by rix on Mon, 06 Jan 2020 16:57:05 -0800
The call scenario of jetty is: in order to support the annotation mode in the Servlet specification (so that it is no longer necessary to describe the deployment of the Servlet in the web.xml file and simplify the development process), jetty will scan the class and lib packages when it starts, register the Servlet and Listener declared in the a ...
Posted by fukas on Sat, 30 Nov 2019 18:18:10 -0800
Spring cloud: from incomprehension to abandonment, Chapter 5
I. zuul routing gateway
1. zuul overview
Brief introduction: unified access gateway of external interface.
Zuul includes two main functions of request routing and filtering:
The routing function is responsible for forwarding the external request to the specific microservice ins ...
Posted by mattd8752 on Wed, 06 Nov 2019 01:56:32 -0800
1. Download solr version
After decompression, enter the bin directory, open cmd at the current location, and start it in jetty mode:
solr start -p 8983
Stop a single specified port
solr stop -p 8983
solr stop -all
2. Enter management interface configuration
Use the Core Admin ...
Posted by greg_soulsby on Tue, 05 Nov 2019 06:07:37 -0800
When browsing Stack Overflow, I found that the most popular problem is: what is NullPointerException (java.lang.NullPointerException), what causes it, and whether there is a good way or tool to track the cause of it?
I didn't expect to see as many as 2.5 million views of this problem! So, I think it's time to sort out the best answers and share ...
Posted by maybl8r03 on Sun, 20 Oct 2019 19:43:41 -0700
If you read this article before you read it Analysis of SpringBoot Automatic Assembly Principle It should be easier.
We know that the secret of SpringBoot's automatic assembly is in the spring.factories file under the package org. spring framework. boot. autoconfigure, and the principle of embedding Tomcat is a configuration class ...
Posted by farkewie on Tue, 08 Oct 2019 09:18:00 -0700
Jstack is used to generate thread snapshots of the current time of the java virtual machine. Thread snapshots are a collection of method stacks that are being executed by each thread in the current java virtual machine. The main purpose of generating thread snapshots is to locate the causes of long thread pauses, such as ...
Posted by Ryanz on Fri, 06 Sep 2019 03:40:28 -0700
1. Automatic Configuration Principle of Embedded Servlet Container
Embedded Servlet Container AutoConfiguration: Automatic Configuration of Embedded Servlet Containers
Posted by zerogreen on Thu, 05 Sep 2019 22:51:26 -0700
Dubbo version: 2.6.5
Dubbo supports dubbo, rmi, hessian, http, web service, thrift, redis and other protocols, but Dubbo's official website recommends that we use the Dubbo protocol. Dubbo can publish a single protocol, multiple protocols for the same service, multiple protocols for multiple service ...
Posted by nrussell on Thu, 01 Aug 2019 20:19:14 -0700
The architecture of activeMQ is shown in the figure, leaving aside the right part, we can see that there are three parts from top to bottom:
1. connector: connector
2. region: mainly divided into topic and queue, dealing with related content separately
3. message store: storage
Let's start with IDERunner, a tes ...
Posted by DeltaRho2K on Wed, 03 Jul 2019 09:41:44 -0700