Introduction to spring boot project

Recently, I watched a lot of spring boot teaching videos. I felt they were too long, and there was no actual combat of the project. Today, according to a blogger to write a simple user system to add, delete, modify and check, the source code can refer to the second issue of the article. This project use ...

Added by ecco on Sun, 28 Jun 2020 08:52:33 +0300

The Ultimate Perfect Shopping Cart System Reveals--MVC Design Mode

Simple Shopping System People often go online to get enough, so the so-called shopping cart on the Internet should not be unfamiliar, so today we use the MVC design mode of javaweb to implement a case of online shopping system. The results are as follows:   A brief introduction to the three-tier architecture 1. Development Steps ...

Added by NogDog on Fri, 26 Jun 2020 04:41:02 +0300

Five minute experience of distributed transaction framework Seata

seata is an open source distributed transaction solution dedicated to providing high-performance and easy-to-use distributed transaction services. seata will provide users with AT, TCC, SAGA and XA transaction modes, and build a one-stop distributed solution for users. The purpose of this tutorial is to provide a quick start to the case of seat ...

Added by Cogen on Thu, 25 Jun 2020 07:25:46 +0300

Android interacts with background databases via the Web

Update 2020.06.23 1 Background Develop an app to interact with the background database, based on MySQL+native JDBC+Tomcat, without using DBUtils or JDBC framework, pure underlying JDBC implementation.In the future, we will gradually change to the Spring framework, optimize MySQL, further deploy Tomcat and so on. Now the project is just startin ...

Added by _will on Tue, 23 Jun 2020 20:10:09 +0300

SSRF uses gopher to attack mysql and Intranet

SSRF uses Gopher 0X01 foreword After studying the application of Gopher protocol for one day, I decided to write a summary about the SSRF utilization of Gopher protocol. Reference link: https://blog.csdn.net/qq_41107295/article/details/103026470 0X02 overview SSRF (server side request forgery) se ...

Added by dipenmistry on Tue, 23 Jun 2020 08:03:47 +0300

Using Redis to implement the cut-to-program operation

This project is a Spring boot project Redis Cutting Programming Target: Add a comment to the method to cache when querying Method: Custom Note+AOP Section Programming step Say nothing but go directly to the code demonstration Step One Definition Notes @Retention(RetentionPolicy.RUNTIME) @Target( ...

Added by Bad HAL 9000 on Tue, 23 Jun 2020 05:27:47 +0300

DB2 database varchar field to int field problem

Paste my code first: SELECT BELONG_INSTN_COD AS DEPT_ID, SUM(BALANCE) AS BAL, CASE WHEN length(CERT_ID) = 15 THEN '19' || SUBSTR(CERT_ID, 7, 6) ELSE SUBSTR(CERT_ID, 7, 8) END AS BIRTH_DATE, CASE WHEN length(CERT_ID) = 15 THEN SUBSTR(CERT_ID, 9, 2) ELSE SUBSTR(CERT_ID, 11, 2) END AS MM, CASE WHEN length(CERT_ID) = 15 THEN SUBSTR(CERT_ID ...

Added by sharpnova on Sun, 21 Jun 2020 19:12:14 +0300

Hacker attack and defense of station B [network security] - record

cc attack: for applications, such as malicious swipe verification code DDoS attack: for servers, such as a large number of http requests, malicious access with large traffic Note source station B video (Knowledge Area > wild Technology Association)Hacker attack and defense: from entry to access to y ...

Added by FoxhoundX on Sun, 21 Jun 2020 12:11:09 +0300

04GORM source code interpretation

brief introduction query Query process Build query SQL statement Conditional statement Summary search structure Definition of search search method Summary summary brief introduction GORM source code interpretation, based on v1.9.11 edition. query In the previous section, we explored how models are defined and how data tables are creat ...

Added by champoi on Sun, 21 Jun 2020 12:01:47 +0300

CURD basic operation of MongoDB

Note: This paper is based on MongoDB 4.2.6 1. Delete Delete a document > db.bb.find().pretty() { "_id" : ObjectId("5ed6549830571733ccb3d678"), "jordan" : 23, "haha" : "ending" } { "_id" : ObjectId("5ed6549830571733ccb3d679"), "kobe" : 24, "haha" : "ending" } > db.bb.remove({jordan: 23}) ...

Added by StefanRSA on Sun, 21 Jun 2020 09:46:27 +0300