Custom View - Scan dial with rotation animation

In general, many APP s have a novice-guided process after the first installation starts, but each uses a different approach.Recently, when I did this, I no longer made wheels [I couldn't actually make it myself...) Find a more beautiful framework for beginners'guidance layer. Introduction to TourGuide A framework ...

Posted by auro on Sat, 23 May 2020 10:31:27 -0700

Swagger permission control part 2: Implementation Based on Spring Security

>Following the previous article "Apache Shiro takes over the authentication and authorization of Swagger", some enthusiastic netizens said that Apache Shiro seems too simple. In response to this problem, the individual does not make any evaluation (all technologies serve the needs). Today's main share is: how to take over the authe ...

Posted by Chrisinsd on Fri, 22 May 2020 00:13:44 -0700

Spring Boot Tutorial - HelloWorld

1. Origin of Spring Boot As we all know, the Spring Framework is a very important and lightweight framework in the Java ecology, helping our broad masses of big guys develop Java.The Spring Framework has evolved very rapidly, from the very beginning of the Spring core container that helped us manage Java objects to the various business issues t ...

Posted by frostyhorse on Tue, 19 May 2020 09:50:29 -0700

Haven't you built and used Maven Nexus private library?

Why use private library By default, maven goes to the remote central warehouse to download the JAR package. It's quite slow to visit the foreign network. If everyone in the team downloads the JAR package once, it's undoubtedly a waste of the network. Of course, it can also add the domestic image, such as Ali's, which is relatively stable. But ...

Posted by DeadEvil on Tue, 19 May 2020 03:20:28 -0700

Linux CentOS springboot jenkins+maven+git for sustainable automatic package deployment

jdk environment: 1.8 linux version: CentOS 6.10 git version: 2.1.1 maven version: 3.5.4 Prepare jdk in advance (omitted) 1, Install and deploy jenkins 1. Download rpm file: 2. Upload to server and install 3. Modify jenkins port (default 8080) 4. Start and restart jenkins 5. Visit jenkins 6. Install plug-ins and create users ...

Posted by vandana on Sun, 17 May 2020 01:03:52 -0700

How does the Spring Boot run instruction run the Spring Boot project?

Author: Shahu Wanghttps://segmentfault.com/a/1190000021687878 When learning Spring Boot for the first time, according to the official documents, after setting up a project, execute mvn spring-boot:run We can run this project. I'm curious about what this instruction does and why the class in the project that contains the main method needs to b ...

Posted by Solar on Fri, 15 May 2020 01:51:22 -0700

9 Best Practices for Java to handle exceptions!

Handling exceptions in Java is not an easy task. It is not only difficult for beginners to understand, even some experienced developers also need to spend a lot of time thinking about how to handle exceptions, including which exceptions need to be handled, how to handle and so on. This is also the reason why most development teams will make som ...

Posted by vonnero on Thu, 14 May 2020 01:31:20 -0700

Do you know how Spring resolves configuration classes?

Do you know how Spring resolves configuration classes? Catalog Second line of code in SpringClassPathBeanDefinitionScanner Source Analysis1. Complete the scan by findCandidateComponents method2. Execute the postProcessBeanDefinition method3. Execute the processCommonDefinitionAnnotations method4. Register BeanDefinitionHow does Spring resolve ...

Posted by bigger on Sun, 10 May 2020 18:13:22 -0700

Java fun sharing: try & finally

Consider the following four test methods, and what do they output? public class Test {     public static void main(String\[\] args) {         System.out.println(test1());         System.out.println(test2());         System.out.println(test3());         System.out.println(test4());     }     private static int test1() {         int i = ...

Posted by nayone on Fri, 08 May 2020 07:31:28 -0700

Spring boot2. X Quick Start Guide

Spring boot2. X Quick Start Guide (1) preparation IDE: IntelliJ IDEA 2020.3 Java environment jdk1.8 Quickly create spring boot project on the official website Now let's get to the point:Get into https://start.spring.io/ Build an initial projectHere you will download a zip project package Using Maven to import the Spring Boot project Rememb ...

Posted by Francky683 on Thu, 07 May 2020 20:22:11 -0700