Shiro address: https://shiro.apache.org/ reference resources: Crazy God says Java Springboot
1, Construction project
1.1 configuration dependency
Select the Springboot project to build, and select the web and thymeleaf templates. Spring boot starter thymeleaf, spring boot starter web and spring boot starter test will be imported automati ...
Posted by fireMind on Fri, 22 Oct 2021 03:07:25 -0700
Flowable is a lightweight business process engine written in Java and open source using Apache V2 license protocol. In October 2016, the main developer of Activiti workflow engine left Alfresco and started the flowable open source project on the basis of Activiti branch. The first Flowable release ve ...
Posted by polymnia on Fri, 22 Oct 2021 03:04:17 -0700
Mybatis generator source code learning and modification
Required jar package: generator-mybatis-generator-1.3.2.jar
The company's database is divided into sub databases. During query, the customerId must be modified, otherwise the query efficiency will become low. The database table 60 +, almost every table of the new projec ...
Posted by rahnel on Fri, 22 Oct 2021 01:35:30 -0700
In the previous two chapters, brother one by one We have realized the function of adding graphic verification code verification in Spring Security. In fact, the functions of Spring Security are not only these, but also many other effects, such as automatic login, logout and login.
Some small partners will ask, why should we rea ...
Posted by poscribes on Fri, 22 Oct 2021 00:39:25 -0700
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
1, What is the time complexity?
The algorithm takes the highest order after adding the calculation times, ignoring the constant and the rest
If sorting is selected, n+n-1+n-2 + The calcu ...
Posted by shylock on Thu, 21 Oct 2021 22:36:13 -0700
Before Java introduces generics, programmers can build a collection with element type Object, which can store any data type Object. In the process of using this collection, programmers need to know the data type of each element, otherwise ClassCastException is easy to occur.
Such as the following cases:
Singleton Pattern is one of the simplest design patterns in Java.
This type of design pattern is a creation pattern, which provides the best way to create objects.
This pattern involves a single class that is responsible for creating its own objects while ensuring that only a single object is created. This clas ...
Posted by ijmccoy on Thu, 21 Oct 2021 20:54:02 -0700
There are many methods of virtual machine allocation strategy in cloud computing. Now it is placed in the cloudsim project package with scheduling methods such as Random allocation, first fit, best fit and RoundRobin. The optimization process of virtual machine scheduling problem can also refer t ...
Posted by slysop on Thu, 21 Oct 2021 20:12:14 -0700
@Introduction to Autowired annotation
@Autowired annotation, which can label class member variables, methods and constructors to complete automatic assembly. Use @ Autowired to eliminate set and get methods. Before using @ Autowired, we use this when configuring properties on a bean
<property name="Attribute name" value=" Attribute value"/ ...
Posted by Javizy on Thu, 21 Oct 2021 16:12:21 -0700
Appearance Mode (Facade Mode)
Here's a reference from Chapter 7 of Headfirst Design Patterns
Appearance patterns provide a unified interface for accessing a group of interfaces in a subsystem. Appearance defines a high-level interface that makes subsystems easier to use.
Advantages and disadvantages
The following references ...
Posted by alexk1781 on Thu, 21 Oct 2021 12:57:02 -0700