So detailed Servlet tutorial, don't you come to have a look?

1. Servlet program 1.1 what is Servlet Servlet is one of the Java EE specifications (interfaces) Servlet is one of the three components of Java Web. The three components are: servlet program, Filter filter, Listener listener Servlet is a Java applet running on the server, which is used to receive the data sent by the client and respond to the ...

Posted on Sun, 07 Jun 2020 03:55:24 -0700 by gibbo101

Guava experience: common methods of copying objects

In Java, the Object class is the parent class of all classes. There are several methods that need override, such as equals,hashCode and toString. Every time I write these methods, I have to make a lot of repetitive judgments. Many class libraries provide tool classes to override these methods, and Gu ...

Posted on Sun, 07 Jun 2020 03:34:59 -0700 by culprit

Initial version of Gobang

Initial version of Gobang 1. Design the main frame, interface, draw the chess board. 2. Using ActionListener interface inheritance to realize button event monitoring, using MouseListener interface to realize event monitoring, and implementing all methods in the interface. 3. Restart the implementation o ...

Posted on Sun, 07 Jun 2020 02:08:26 -0700 by alco19357

Distributed e-commerce project 44: release commodity function - save commodity information

Publish product function - save product information This chapter compiles the interface for saving commodity information. At the end of publishing commodity function, commodity information needs to be saved, corresponding to the front-end interface: Corresponding interface document: 19,New products PO ...

Posted on Sun, 07 Jun 2020 00:49:12 -0700 by vbzoom.com

2: The magic of constructors

Objectives: Be able to figure out the constructor and prototype Understanding inheritance of constructors Master some new methods of es5 1. Constructors and prototypes 1.1 general In a typical OOP language (such as Java), there is the concept of class. Class is the template of object, and object ...

Posted on Sun, 07 Jun 2020 00:28:03 -0700 by jmgarde

Spring cloud project restart gracefully: tomcat closes the process

This article mainly talks about the process of tomcat "rough stop" and several key information in the solution. The detailed solution steps will be in the following articles. Overall structure Let's take a look at the overall architecture of Tomcat to get a general understanding of the relationship between Tomcat components:Source:&lt ...

Posted on Sat, 06 Jun 2020 22:58:32 -0700 by HalfaBee

RocketMQ source code analysis RPC communication

In the first part, the protocol format, message encoding and decoding, communication mode (synchronous / asynchronous / one-way), message sending / receiving and asynchronous callback of RocketMQ are introduced. This paper focuses on the Netty multithreading model of RocketMQ message queuing RPC comm ...

Posted on Sat, 06 Jun 2020 03:33:48 -0700 by carylson

Practical tips of Android Studio APP

APP practical tips This article introduces three tips for using app: (1) app start animation (2) hide app title bar (3) hide system notification status bar. Article catalog APP practical tips APP launch animation Hide title block Hide system status bar APP launch animation Wechat and QQ have ...

Posted on Sat, 06 Jun 2020 01:56:42 -0700 by flappy_warbucks

What's new in java8 - Optional Class

Optional class So far, the most common cause of java application failure is the notorious null pointer exception. Previously, in order to solve the null pointer exception, Google's famous guava project introduced the Optional class. Guava prevents code pollution by detecting null pointer, and encour ...

Posted on Sat, 06 Jun 2020 01:48:40 -0700 by nano

Flutter learning note 04: Dart data type

One of the most basic characteristics of programming language is the data types it supports. These are the types of values that can be represented and manipulated in programming languages. The Dart language supports the following types: 1. Number int, double 2. String 3. bool 4. List (similar to array) ...

Posted on Sat, 06 Jun 2020 00:07:34 -0700 by msandersen