Source code analysis of initializer of springboot source code

In the previous article, we introduced how to use the initializer Let's take a look at the implementation principle of the initializer First, we need to create a springboot project, and then start to trace the source code package com.jun.lee; import org.springframework.boot.SpringApplication; imp ...

Posted on Thu, 13 Feb 2020 07:27:24 -0800 by Adastra

JAVA - > using JDBC and database connection pool learned before to realize a simple login function

This time, we use the jdbc we have learned before to write a simple login page (we will learn more about Ajax in the future) The main comments are noted after the code! Read for yourself. First look at the finished product page. There are input user name, password, login button. The pink area is the log ...

Posted on Thu, 13 Feb 2020 06:44:05 -0800 by rofl90

Spring MVC develops RESTful interface

Concept: What is REST? REST is an abbreviation for representative state transfer. restful is an interface design style. It is not a protocol, usually based on HTTP protocol; Why do you need such a style? One of the key points of RESTful is uniform interface naming rules; Each developer may have different interface styles, the most common ones a ...

Posted on Thu, 13 Feb 2020 03:52:06 -0800 by kitaeshi

Sorting out Java Web Framework -- configuring SSM framework

Article directory Set up SSM project POJO CategoryMapper Configure Category.xml CategoryService CategoryServiceImpl CategoryController web.xml applicationContext.xml springMVC.xml listCategory.jsp Could not resolve type alias' categorymap 'appears. Cause: java.lang.classnotfoundexception: Effect: Pr ...

Posted on Thu, 13 Feb 2020 01:07:06 -0800 by ChrisMartino

Farewell to the era of handwritten interface documents, the more powerful LKADocument interface document management framework than Swagger was born!

For more detailed and comprehensive tutorials, please watch the video tutorials recorded by the author. Address: https://edu.51cto.com/sd/9cb7fLKADocument video tutorial I. Introduction Today, with the separation of front and back ends and more detailed division of labor, in order to reduce the communication cost of front-end and back-end deve ...

Posted on Thu, 13 Feb 2020 00:42:05 -0800 by dethknite

Notes on design mode 01: simple and efficient single example mode

Design patterns are essential skills for good programmers, and they are often mentioned in interviews. Preface IT industry is the industry with high job hopping rate, which is not frequent to interview. As an interviewer, if the candidate's other knowledge is OK, I will finally mention the content related to * * design pattern. If the answ ...

Posted on Wed, 12 Feb 2020 20:21:37 -0800 by auddog

Trust all certificates using HttpClient over HTTPS

Recently in Https Questions about HttpClient published on Find it here ).I have made some progress, but I have encountered new problems.Like my last question, I don't seem to find any examples that work for me.Basically, I want my client to accept any certificate (because I only point to one server) ...

Posted on Wed, 12 Feb 2020 19:10:51 -0800 by demouser

Basic use of RecycleView and Adapter

1. Create a layout file. Word "fragment" is used to put Recycle and word "fragment" grad "cell is used to put small cells Word? Fragment layout: Word? Fragment? Grad? Cell layout: (card layout) 2. Create the adapter wordFragmentAdapter class package com.example.ngsl.wordFrag ...

Posted on Wed, 12 Feb 2020 10:36:44 -0800 by dlester

Request Zuul gateway error

I started the eureka, config, zuul, a microservice, and used postman to test whether the gateway worked. com.netflix.zuul.exception.ZuulException: at org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter.findZuulException(SendErrorFilter.java:118) ~[spring-cloud-netflix-zuul-2.2.1.RE ...

Posted on Wed, 12 Feb 2020 07:59:26 -0800 by dsartain

ELK introduction and installation

I. Introduction ELK is the abbreviation of three open source software, which respectively means: elastic search, logstash, kibana 1. Elasticsearch is an open source distributed search engine, which provides three functions of data collection, analysis and storage. Its features include: distributed, zero ...

Posted on Wed, 12 Feb 2020 04:27:27 -0800 by php4hosting