Handwritten MQ framework - server implementation
First, set sail
Based on the principle of from nothing to have, from having to being excellent, we plan to realize the function through web first, and then optimize it to socket.
1. Technology selection
The web framework uses the gmvc framework written before( Handwritten MVC framework (I) - start again )Message storage adopts the way of existi ...
Posted by seddonym on Sun, 24 Nov 2019 01:46:44 -0800
Spring boot introduces external jar s and packages the project through maven, unable to start
Road to crater
Preface
Introducing jar
Preface
First of all, you must print the error log in your project (I use log4j), so that you can see what causes the startup error.
Introducing jar
How to import local jar package
1. Create a new lib folder under resources and put the jar package file in this directory
2. In the ...
Posted by pumaf1 on Thu, 21 Nov 2019 11:14:30 -0800
Premium Purchase (IDEA version) - Next day
Premium Purchase - Day 2
Learning Objectives
Goal 1: Common instructions for using the Angular JS front-end framework
Goal 2: Complete the list function of brand management
Goal 3: Complete Brand Management Paging List
Goal 4: Complete the added function of brand management
Goal 5: Complete the modification function of brand management
Goal 6: ...
Posted by cstegner on Thu, 14 Nov 2019 12:28:40 -0800
springboot -- integrating logs
Catalog
Summary
1. Market log framework and log abstraction layer classes
2. Spring boot default logging
3, summary
Summary
When we are developing projects, we usually want to know how the program is running. We can use sysout.print(); print some key code or view the running status through debug, but for this kind of sysout.print(); currentl ...
Posted by hermzz on Wed, 06 Nov 2019 04:41:48 -0800
Appearance pattern of java design pattern (facade pattern)
For appearance mode, it is very frequent in project development and practical application, but it is very easy to understand. Here is a brief introduction.
I. concept introduction
Facade, which hides the complexity of the system and provides the client with an interface to access the system. This type of design pattern belongs to structural pat ...
Posted by sharapov on Sun, 03 Nov 2019 02:30:08 -0800
Spring MVC does not use any annotations to process (jQuery) Ajax requests (based on XML configuration)
1. Spring
The spring framework is a lightweight solution, a potential one-stop shop for building enterprise ready applications. Spring framework is a Java platform, which provides comprehensive infrastructure support for Java application development. Spring deals with the infrastructure, so you can focus on the application. Spring enables you ...
Posted by Cantaloupe on Sat, 02 Nov 2019 22:26:59 -0700
A rare Lombok Learning Guide
I. Introduction to Lombok
Lombok It is a java development plug-in, which enables Java developers to eliminate tedious and tedious code in business engineering through some annotations defined by it, especially for simple java model objects (POJO s). After using Lombok plug-in in the development environment, Java developers can save a lot of ti ...
Posted by The_Stranger on Wed, 30 Oct 2019 13:07:16 -0700
SpringBoot 19: log management
The default logging framework used by springboot is Logback.
Simple log properties can be configured in application.properties, logback.xml format can be configured separately, and log4j can be used for management.
The following describes the self-contained log configuration and how to use log4j as log ...
Posted by AdRock on Mon, 28 Oct 2019 07:14:07 -0700
Springboot 2.0.3 Configuration Log
Reason: SpringBoot uses slf4j log by default. When introducing other frameworks, it only needs to exclude the log framework that the framework depends on.
When I wanted to introduce log4j today, the pom file kept reporting errors, indicating that the jar package of log4j could not be found, which should be the reason for the springboot version ...
Posted by Markx on Thu, 10 Oct 2019 07:18:23 -0700
dubbo provider does not print error log resolution
Reason analysis:
By default, dubbo uses log4j as its logging framework. If you use a different logging framework, you may not have a log.
Solve:
It can be resolved by configuring the logger attribute of the application
//slf4j,jcl,log4j,jdk,log4j2
<dubbo:application logger="log4j2" />
T ...
Posted by jesirose on Tue, 08 Oct 2019 14:45:01 -0700