Local deployment of distributed monitoring CAT server

I. CAT introduction CAT (Central Application Tracking) is an open-source distributed real-time monitoring system developed by meituan reviews based on Java. The Infrastructure Department of meituan reviews hopes to provide industry-leading and unified solutions in the fields of basic storage, high-performance communication, large-scale online ...

Posted by Tonata on Tue, 29 Oct 2019 18:45:51 -0700

SSM environment construction

SSM environment construction Create project General directory structure Specific file configuration Run Tomcat Operation result SSM(Spring+SpringMVC+MyBatis), the framework of web project First of all, ensure that the Maven configuration is completed and that the image source is replaced by domest ...

Posted by pyro3k on Tue, 29 Oct 2019 14:53:15 -0700

Spring MVC exception handler

The dao, service and controller of the system are all thrown upward through throws Exception. Finally, the spring MVC front-end controller hands over to the exception processor for exception handling, as shown in the following figure: To use the exception handler provided by spring MVC: (1) write ...

Posted by nihal on Tue, 29 Oct 2019 09:17:15 -0700

The record of base64 encoding and decoding after des CBC encryption and decryption using openssl Library under linux c

The record of base64 encoding and decoding after des CBC encryption and decryption using openssl Library under linux c Decoding and encoding process Des CBC decryption encryption code base64 decoding group code main function Decoding and encoding process In the process, the encrypted xml documen ...

Posted by mattheww on Tue, 29 Oct 2019 07:58:43 -0700

Integration and use of SSM framework -- to realize simple transfer system

I. integration ideas SSM framework, namely spring MVC + Spring + mybati framework set, is a lightweight Web open source framework. The modules they are responsible for in the JAVA three-tier architecture are as follows: Among them, there is an inclusion relationship between spring MVC and spring, so there is no need to integrate them, just ...

Posted by nemethpeter on Tue, 29 Oct 2019 03:54:14 -0700

Servlet handles native Ajax requests

The first blog in Meng new Xiaobai's life will inevitably make mistakes. I hope you guys will forgive me a lot. 1. Introduction to Ajax technology Ajax(Asynchronous JavaScript and XML) is a kind of web development technology to create interactive web applications. It is not a new technology. Its purpose is to achieve the local refresh of the ...

Posted by double-f on Mon, 28 Oct 2019 13:13:27 -0700

android pull-up load more show all data solutions

When I use the BaseQuickAdapter universal adapter to pull up and load more data, no matter whether I slide the interface or not, the pull-down loading has been loading more data, which does not meet the requirements of pulling down and starting to load more data at last. No more nonsense, layout: <?x ...

Posted by Jocke on Mon, 28 Oct 2019 12:32:04 -0700

Modify the prefix of ApiBoot Logging log collection

ApiBoot Logging supports specifying the prefix of a single or multiple paths for collection, that is, we can specify a single or multiple paths under / user / * * or / order / *, and other paths that do not conform to Ant expressions will be ignored. Create sample project Use idea to create a spring boot project. Add ApiBoot Logging dependency ...

Posted by brokenshadows on Mon, 28 Oct 2019 10:26:50 -0700

Do you know all four points of Android Navigation?

In JetPack, there is a component called Navigation. As the name implies, it is a page Navigation component. Compared with other third-party Navigation, the difference is that it is specially designed for Fragment page management. It is very useful for the App of a single Activity, because the presentation of App pages based on an Activity is d ...

Posted by immobilarity on Mon, 28 Oct 2019 05:08:46 -0700

Mybaits source code analysis ---- create SqlSessionFactory according to the Configuration file (Configuration creation process)

We use mybatis to operate the database through the API call of SqlSession, and create SqlSession through SqlSessionFactory. Let's take a look at the creation process of SqlSessionFactory. Profile resolution portal Let's look at the test method in the first article 1 public static void main(String[] args) throws IOException { 2 Strin ...

Posted by rommel_toledo on Sun, 27 Oct 2019 23:53:57 -0700