Generics and annotations in Java

1, Use of enumeration classes 1. Description of enumeration class: Understanding of enumeration class: there are only a limited number of objects in the class, which are certain. We call this class an enumeration class Enumeration classes are strongly recommended when you need to define a set of constants Implementation of enumerat ...

Posted by surajkandukuri on Sun, 26 Apr 2020 07:02:31 +0200

Common Java classes

1, String class Use of java.lang.String class (1) Overview String: string, represented by a pair of "" causes. String declared final, cannot be inherited String implements the Serializable interface: indicates that strings support serialization. Implemented the compatible interface: indicates that string can compare sizes ...

Posted by schajee on Tue, 21 Apr 2020 14:51:29 +0200

Axis2 distributes WebService (server and client) I

Although POJO and aar can publish WebService, they are not the most commonly used methods. The common methods are as follows Server side 1. Create a web Project (New - > other - > Web - > dynamic web Project) 2. Copy the jar package in axis2-1.7.9\lib to WebContent/WEB-INF/lib / 3. Create services folder under Web ...

Posted by mkoga on Mon, 25 Nov 2019 17:52:58 +0100

Creation of spring MVC entry program (annotation mode)

The annotation method is the same as the configuration file method, so there are different points written here and the configuration file method. Profile to create a connection for springMVC: Portal The web.xml file is: <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/j ...

Posted by phpScott on Wed, 13 Nov 2019 16:26:54 +0100

Handwritten SpringMVC Framework

Handwritten SpringMVC Framework   Smell the rose and have a tiger in the heart Background: Spring must have been heard of by everyone, and Spring Boot and Spring Cloud frameworks may be more popular now; however, as a web (presentation) tier framework that implements the MVC design pattern, Spring MVC's high development efficiency and high perf ...

Posted by gmccague on Sat, 09 Nov 2019 19:41:16 +0100

Spring MVC Source Analysis 2: Spring MVC Design Concept and Dispatcher Servlet

From: https://my.oschina.net/lichhao/blog Introduction to Spring MVC Spring MVC is becoming more and more popular as an emerging presentation layer framework after Struts 2. It is believed that javaee developers should have heard a little about Spring MVC even if they have not used it. I try to unveil the mystery of Spring MVC one by one throug ...

Posted by duncanmaclean on Sun, 25 Aug 2019 11:58:56 +0200

Using Filter to Disable Browser Caching in Java Web

What is Browser Cache The browser stores the recently requested documents on the user's disk. When the visitor requests the page again, the browser can display the documents from the local disk, which is the browser cache. Why use browser caching? For browser caching, I believe everyone is familiar with ...

Posted by sarahk on Mon, 22 Jul 2019 07:43:30 +0200

Day 60 (Employment Class) Introduction to Lucene, Creation of Index Library, CRUD

01_Review 02_Retrospective Index and Baidu Search Review the Layering and Technology of web Applications I) Retrospective Index Definition: An index is a structure that sorts the values of one or more columns in a database table OBJECTIVE: To speed up the query of records in database tables Features: Exchange space for time, i ...

Posted by craigh on Thu, 11 Jul 2019 21:15:19 +0200

14.4 - Full stack Java Notes: What are the common controls for javax.swing? How to use it?

Common Basic Controlsjavax.swing.JButtonIn graphical interface programs, buttons are probably one of the most used controls. The JButton class in the javax.swing package is used to create buttons. As shown in Table 1, it is a common construction method for JButton. javax.swing.JLabelJLabel control is one of the simplest Swing components us ...

Posted by herrin on Tue, 04 Jun 2019 20:24:29 +0200

[JavaSE (11)] Java Collection Framework (Part 2)

Original address: https://www.cloudcrossing.xyz/post/43/ 1 Map set 1.1 Overview of Map Collections Map is an object that maps keys and values one by one. It can get values by keys. A mapping cannot contain duplicate keys; each key can be mapped to at most one value. What's the difference between Map and Collection? A: Map stores e ...

Posted by atlanta on Sat, 11 May 2019 16:16:49 +0200