Use TrueLicense in Spring Boot project to generate and verify License (Server License)

Article catalog 1, Introduction 2, Use TrueLicense to generate License 1, in pom.xml Add key dependencies to 2. Verify the user-defined License parameters 3. Add a Controller to generate certificate: 3, Using the keytool tool provided with JDK to generate public private key certificate Library 4, G ...

Posted by parboy on Tue, 23 Jun 2020 09:38:53 +0200

magical! The new objects can also be managed by the Spring container!

It's reasonable to say that the objects from new have nothing to do with containers, but in the Spring Security framework, there are many new objects that can also be managed by containers, so how does it do it? Today, I'd like to talk with you about a little cold topic. What is the use of ObjectPostProcessor in Spring Security? This is the 32n ...

Posted by Dynamis on Tue, 23 Jun 2020 06:35:34 +0200

The lowest coupling way to add title block in history

preface Most pages have a title block, which usually encapsulates the initialization code of the general title block in the base class, and then only needs to include a title block layout in the layout code, so it is very convenient to set the title block in the Activity. This may be the current more ...

Posted by zkoneffko on Mon, 22 Jun 2020 10:36:33 +0200

Redis data type, transaction and Jedis operation redis

Five basic types of Redis Note: Note arrangement source: B station UP master maniac said Java Official document: Redis is an open source (BSD licensed) in memory data structure storage system, which can be used as database, cache and message middleware. It supports many types of data structures, such ...

Posted by pplexr on Mon, 22 Jun 2020 10:19:45 +0200

day13 [nesting of student management system, Map and collection] lesson

1. Student management system (completed after class) 1.1 modification //modify private static void updateStudent(ArrayList<Student> list) { //Create keyboard entry object Scanner sc = new Scanner(System.in); System.out.println("Please enter the number of the studen ...

Posted by Tjk on Mon, 22 Jun 2020 09:51:09 +0200

Android interprocess communication -- understand Binder through AIDL and write Binder service

Series of articlesAndroid interprocess communication (I) - Android multiprocess modeAndroid interprocess communication (2) - understanding Binder's mechanismAndroid interprocess communication (3) - understand Binder through AIDL and write Binder service In the previous chapter, I have learned the comm ...

Posted by lovely on Mon, 22 Jun 2020 06:28:49 +0200

String, StringBuffer, StringBuilder -- common methods and differences of "3S" [cloud map Zhilian]

Introduction to String class String yes a reference data type is null by default;String is of final type and cannot be changed and inherited;The combination of basic type and String will be converted to String type; 1, String common methods length() method 1. Use the length() method of the String class to get the length of the declared String o ...

Posted by DedMousie on Mon, 22 Jun 2020 05:35:21 +0200

java Network Programming Practice-Native NIO Non-Blocking Communication Network Programming Practice

Preface Last mentioned to improve our RPC framework, this week take the time to explore the native NIO non-blocking network programming ideas that JDK provides to us.NIO libraries were introduced in JDK 1.4.NIO makes up for the deficiency of the original I/O by providing high-speed, block-oriented I/O in standard Java code. Main differences ...

Posted by nike121 on Mon, 22 Jun 2020 00:19:57 +0200

Fall 2018 web training log 0928

Morning: AOP programming: Notification class, target class, enhanced code, weaving process, join point (pointcut) Pre notice, post notice, final notice, exception notice AOP can be used to isolate all parts of business logic, so as to reduce the coupling between all parts of business logic, Improve ...

Posted by bazza84 on Sun, 21 Jun 2020 12:46:06 +0200

Simple use of Java GUI

java GUI is the graphical user interface of java. I think many people on the Internet say that java is not suitable for GUI, because it is too troublesome and not beautiful. It is very troublesome to be beautiful, but it is enough for sophomores to complete the experiment. I contacted java GUI to make a ...

Posted by sarbas on Sun, 21 Jun 2020 11:48:01 +0200