Day03 operator

Task 3: operator 1. Arithmetic operator +Represents the addition operator-Represents the subtraction operator*Represents the multiplication operator/Represents the division operator%Represents the modulo / remainder operator package com.lagou.Day03; /** * Arithmetic operator */ public class Demo01 { public static void main(String[] ar ...

Added by mobile target on Thu, 10 Feb 2022 01:23:32 +0200

Stateless application: Deployment replica application and horizontal expansion

Words in this article: replace(/r ɪˈ ple ɪ s /) replacement and substitution; In this article, the modified yaml file replaces the old yaml file rollout(/ ɑː ®/) record; In this article is a copy version of deploy that records history describe(/d ɪˈ skra ɪ b /) description; In this article, it means to record the process scale(/ske ɪ l ...

Added by free2code on Thu, 10 Feb 2022 00:31:19 +0200

3, Annotation version and configuration version of spring MVC

(the notes of the article are from the video of station b. when you meet the crazy God, you can carry the notes as a study for your reference and study together) Configuration version 1. Create a new Moudle, springmvc-02-hello, and add web support! 2. Make sure the dependency of spring MVC is imported! 3. Configure web XML, register Dispatc ...

Added by rubio on Thu, 10 Feb 2022 00:04:45 +0200

java network programming

Network programming 1.1 general Computer network: Computer network refers to connecting multiple computers and their external devices with independent functions in different geographical locations through communication lines Operating system, network management software and network communication protocol A computer system that realizes resou ...

Added by loveranger on Wed, 09 Feb 2022 23:57:51 +0200

foreach, Iterable and Iterator

foreach According to the official documents, foreach syntax (sugar) appears to replace the iterator iteration of a collection. The purpose is to make the code beautiful and reduce errors. Started with java 1.5. Official website link: https://docs.oracle.com/javase/8/docs/technotes/guides/language/foreach.html Note: the Collection Interface ( ...

Added by dionyssos on Wed, 09 Feb 2022 23:52:34 +0200

nginx installation and getting started

Reference notes: Install and configure Nginx using yum under CentOS 7 Nginx Getting Started Guide How to install nginx Install nginx using yum or up2date 1. First check the version number of Linux distribution cat /etc/redhat-release My system version is: CentOS Linux release 7.5.1804 (Core) 2.Nginx is not in the default Yum so ...

Added by nerya on Wed, 09 Feb 2022 23:26:12 +0200

Deployment of pure domestic environment (Galaxy Kirin + Feiteng) JAVA program (Springboot + Mybatis + Damon database)

JAVA program deployment preface Operating environment: Galaxy Kirin + Feiteng CPU Project framework: Springboot + Mybatis + Dameng database jdk1 eight The last one wrote the source code of the project, and this one mainly wrote the deployment of the project on the domestic operating system and the installation and creation of Dameng data ...

Added by Pezmc on Wed, 09 Feb 2022 21:50:13 +0200

The most detailed Java API exercises and collection notes in the whole network

Java related API exercises Integer Introduction to this class: Integer: located in Java Lang package This class is the wrapper class of basic data type int, and introduces the main methods of this class Integer(int/String), a construction method, which puts integers or strings into and packages them into integer objects, also known as &q ...

Added by Ethan28 on Wed, 09 Feb 2022 21:27:28 +0200

Agent pattern and aspect oriented design pattern

The observer mode was mentioned earlier. By the way, the factory mode and aspect oriented mode are mentioned here. Let's use dynamic agent to realize aspect oriented and use configuration file to realize component management. This is also a blog post written before. What is AOP In human terms, it is aspect oriented programming. What asp ...

Added by aeonsky on Wed, 09 Feb 2022 21:13:47 +0200

Share with you the experience of "Zen of design patterns" (constantly updating ~ ~)

We knew the beauty of design patterns long ago. A good architecture is inseparable from the blessing of design patterns to cope with endless demand changes, so it's time to make up lessons~ Six principles of design patterns (reference book: "Zen of design patterns (Second Edition)") Design pattern principle 1. Principle of unity ...

Added by Redneckheaven on Wed, 09 Feb 2022 21:11:03 +0200