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

Redis from entry to mastery (VIII. Redis cluster)

This article introduces the Redis Cluster cluster, and briefly introduces the implementation of the cluster. It is mainly a specific practical part: cluster startup, failover, adding nodes, removing nodes Basic concepts of Redis cluster Redis's cluster mode provides data fragmentation and ensures the availability of each partition. Each node of ...

Added by jdorsch on Thu, 25 Jun 2020 14:10:22 +0300

Distributed timing task -- XXL job learning: source code analysis -- actuator startup process

Distributed timing task -- XXL job learning (2): source code analysis -- actuator startup process preface 1, Start of actuator 1.1 analysis of the core class XxlJobSpringExecutor 1.1.1 initJobHandlerRepository() 1.1.2 initJobHandlerMethodRepository() 1.1.3 GlueFactory.refreshInstance(1) 1.1.4 super.start() ...

Added by Azad on Thu, 25 Jun 2020 05:17:05 +0300

Finding a few small math problems for ReentrantReadWriteLock is enough

Preface Article Java AQS Queue Synchronizer and ReentrantLock Application This paper introduces the implementation of AQS exclusive acquisition of synchronization state, and illustrates how ReentrantLock customizes synchronizer mutually exclusive lock. Article Java AQS Shared Obtain Synchronization Status and Semaphore Application Analysis In ...

Added by hank9481 on Wed, 24 Jun 2020 05:01:25 +0300

spring boot source parsing and startup process

First of all, spring boot is a simplified development framework with convention greater than configuration. If I look at the source code of spring boot, I think there are two directions. One is the process of spring boot based on spring container and some of its own startup. The other is the implemen ...

Added by PHPLRNR on Tue, 23 Jun 2020 08:49:04 +0300

"python" Object-Oriented Introduction (with diagram) in detail

Article catalog object-oriented Defining classes Define a class and create a class instance Binding instance properties for objects Creating and using instance methods Class properties Class method Static class method Construction method encapsulation General definition method: lack of concealmen ...

Added by CompuWorld on Tue, 23 Jun 2020 08:48:35 +0300

Multithreading review-01

I haven't been able to tweet for a long time. Because of the epidemic, Xiaobian also failed to go to school. She has been staying at home for a long time and has been trying to write down tweets, but she doesn't know what. After looking at the previous section, I plan to improve the bricklaying series f ...

Added by MentalMonkey on Tue, 23 Jun 2020 06:59:07 +0300

Java fork/join -- parallel execution of split tasks

concept Starting from JDK 1.7, Java provides the ForkJoin framework for parallel task execution. Its idea is to divide a large task into several small tasks, and finally summarize the results of each small task to get the results of this large task. As a concurrency framework, it was added to our Java and issued in jdk7 java.util.concurrent And ...

Added by goldenei on Mon, 22 Jun 2020 08:13:24 +0300

Alternative to Swagger

Today, I will give you an interface document generator, JApiDocs. swagger must have been used by everyone. It's very convenient and powerful. If you want to say what's wrong with swaager, it must be that annotations are more cumbersome to write. If I say that there is a tool that can generate documents without comments, are you excited? He is o ...

Added by wildmalc on Mon, 22 Jun 2020 05:08:54 +0300

dubbo of springboot series

dubbo of springboot series Introduction to dubbo Apache Dubbo`Is a high performance Java RPC framework.(1) High performance RPC calls for interface proxyProvides high-performance proxy-based remote invocation capabilities. Services are interface-granular and shield developers from the underlying details of remote invocations.(2) Intelligent Loa ...

Added by cleromancer on Sun, 21 Jun 2020 19:12:57 +0300