Introduction to Spring framework for Java learning

Introduction to Spring framework for Java learning 0x00 Preface Recently, I've been studying the three frameworks of SSM. The previous article has updated the relevant contents of Mybatis. Then this article will write the introduction to Spring. 0x01 Spring overview Spring is an open source framework. Spring is a lightweight Java development fr ...

Posted by frist44 on Thu, 19 May 2022 12:00:53 +0300

Fundamentals: in depth analysis of JAVA exceptions

When an exception occurs in the method, an exception object will be created and handed over to the JVM for processing. The exception object contains the exception name, exception description and the state of the application when the exception occurs. The process of creating an exception object and handing it to the JVM is called throwing an ex ...

Posted by slindstr on Thu, 19 May 2022 10:38:24 +0300

Java statistics new customers

Last week, I did a task of order data statistics, which counted the number of new customers. This paper makes a record and sorting of the problem-solving process.Definition of new customerNew customer means that there are orders in the selected time period and no orders before the time period.For example, the following order data:time slotBefor ...

Posted by t0ta11 on Thu, 19 May 2022 06:58:19 +0300

Introduction to Mybatis CRUD

preface As a senior back-end coder, he has to deal with the database every day. Hibernate, a highly encapsulated persistence framework, was first used. Since I came into contact with Mybatis, I have been impressed by its flexibility. I can write SQL myself. Although it is lightweight, although the sparrow is small, it has all kinds of internal ...

Posted by Maq on Thu, 19 May 2022 06:14:33 +0300

Redis distributed lock - a full understanding of this article (Redission's perfect scheme for realizing distributed lock)

preface In some scenarios, multiple processes must monopolize and share resources in a mutually exclusive manner. At this time, distributed locking is the most direct and effective. With the rapid development of technology, the increase of data scale and the increasing popularity of distributed systems, an application is often deployed on mul ...

Posted by laide234 on Thu, 19 May 2022 05:32:16 +0300

reids 5.0.4 cluster mode deployment practice.

1, Preparatory work The redis compressed package of 5.0.4 can be downloaded from the official website. linux environment 2, Unzip and install 1. Create 6 new folders to install redis directory The directory path is / root/tools/7001 [root@my 7001]# pwd /root/tools/7001 [root@my 7001]# ls redis-5.0.4.tar.gz 2. Unzip and install redis ta ...

Posted by sarijit on Thu, 19 May 2022 00:34:17 +0300

Spring Boot integrates JMS (ActiveMQ)

Spring Boot integrates JMS (ActiveMQ) 1. Introduction to JMS JMS (Java Message Service) is the Java message service. It unifies the standards at the JAVA API level so that multiple clients can interact through JMS. Most message middleware providers provide support for JMS. The relationship between JMS and ActiveMQ is like the relationship be ...

Posted by jasonok6 on Wed, 18 May 2022 22:23:11 +0300

Dynamic Programming: The Knapsack Problem - 2. The Complete Knapsack Model

maximum value minimum value complete knapsack problem analyze state representation v ( i ) v(i) v(i): the first i ...

Posted by adeelahmad on Wed, 18 May 2022 22:07:04 +0300

JavaWeb - Request&Response notes

Request Get request data I Request inheritance system RequestFacade ------> HttpServletRequest ------> ServletRequest ServletRequest: the root interface of the request object provided by Java HttpServletRequest: the request object interface encapsulated by HTTP protocol provided by Java RequestFacade: implementation class defined by ...

Posted by odtaa on Wed, 18 May 2022 21:50:03 +0300

indexOf principle, Java, javascript, python implementation

brief introduction We found that the front-end and back-end projects of indexf are very frequent, no matter when we are working on them recently! The meaning of indexOf: a given string matches the subscript of another string. If it matches, it returns the subscript. If it cannot match, it returns - 1. In fact, the principle is relatively simple ...

Posted by dbomb101 on Wed, 18 May 2022 20:40:42 +0300