Stream: intermediate operation, termination behavior

Stream jdk8 adds a new feature of Stream, which can run or calculate the data in the data source. Note: Array | set can be used as the data source for storing data. Stream cannot store data. It can only calculate the data in the data source to get a new result or a new streamstream does not affect the data in the data sourcestream is disposa ...

Added by rdimaggio on Fri, 04 Mar 2022 15:53:14 +0200

Spring MVC requests and responses

Spring MVC requests and responses 1, Response of spring MVC The data response methods of spring MVC are as follows: Page Jump Return string directlyReturn via ModelAndView object Write back data Return string directlyReturns an object or collection 1. Page Jump 1.1. Directly return string In the code for getting ...

Added by robin339 on Fri, 04 Mar 2022 15:45:35 +0200

Java web file upload

1, Overview Using jar package https://mvnrepository.com/artifact/commons-io/commons-io https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload Precautions for file upload In order to ensure the security of the server, the uploaded files should be placed in a directory that cannot be directly accessed by the outside world, su ...

Added by asuamol on Fri, 04 Mar 2022 15:33:57 +0200

[SpringBoot 2] configuration files related to web development

Write in front🛫 For more information, see SpringBoot 2 column 🚕 This article summarizes the video of Raytheon in Silicon Valley 🚒 Bloggers are still learning this knowledge 🚄 If you find any problems, please point them out 🚀🚀Zhawatai zaogao's blog home page🚀🚀 1 configuration file    as mentioned before, configuration f ...

Added by delorian on Fri, 04 Mar 2022 14:34:08 +0200

Update&Delete using QueryDSL and SpringDataJPA

Updating entities using spring data JPA SpringDataJPA has a built-in save method to save and update the entity content. If there is a primary key value, the row information of the corresponding primary key will be updated. On the contrary, a new information will be added, which is similar to the saveOrUpdate method of Hibernate. Let's create a ...

Added by mizkie on Fri, 04 Mar 2022 14:30:15 +0200

JVM common interview questions Guide

Original link https://www.cnblogs.com/jinyujia/p/15697183.html Basics 1. What is the relationship between JDK, JRE and JVM? What is a JVM? English name (Java Virtual Machine ),namely JAVA Virtual machine, which only recognizes .class Type file, it Be able to class The bytecode instruction in the file is recognized and the upward ope ...

Added by temujinleal on Fri, 04 Mar 2022 13:43:51 +0200

JDBC operation and database access

1. Method of adding, deleting, modifying and querying JDBC 1, Statement: an object used to execute a static SQL statement and return the results generated by it (if there are disadvantages, generally do not use it, just understand it). The disadvantages do not completely represent errors, but are a little troublesome or strange Disadvantage 1 ...

Added by cyrixware on Fri, 04 Mar 2022 13:38:08 +0200

Section VI basic definition and use of methods

Basic definition and use of method 1. Concept of method Method: method, also known as function, is an orderly combination of codes used to solve a class of problems. It is a functional module. (personal popular understanding is like a data processing tool. Put the original data into it for processing, and then get the results I want.) 2 ...

Added by ethan6 on Fri, 04 Mar 2022 13:37:45 +0200

08 JavaWeb introduction Tomcat installation and use HTTP introduction Maven novice use in IDEA

JavaWeb 1. Basic concepts web development Static web html cssProvide it to everyone to see that the data will never change Dynamic web Taobao is almost all websites The data provided to everyone will change, and everyone will see different information at different times and places Stack technology; Servlet/JSP ,ASP,PHP, In ...

Added by baldwinw on Fri, 04 Mar 2022 13:15:22 +0200

Recommend learning java -- the first lesson of spring MVC

Spring MVC overview Spring MVC is a module in the spring framework and one of the cores of spring. It is often used for web development. Its bottom layer is Servlet, so it is also called Spring web mvc. Because the internal architecture pattern is mvc architecture, it is called Spring MVC Spring MVC is a container that manages the controlle ...

Added by Rother2005 on Fri, 04 Mar 2022 13:06:25 +0200