SpringBoot Unified Configuration Center

Backend projects have been built using springboot, and all configurations are written to their own resource directory. As more and more micro-service projects grow, each project needs its own configuration files.And once you want to modify the configuration file later, you have to republish it again. Now, let's teach you how to manage these con ...

Posted by jonki on Fri, 26 Apr 2019 22:42:36 -0700

Spark closure and serialization

                     The source of this article is: http://blog.csdn.net/bluishglc/article/details/50945032 Reproduction in any form is strictly prohibited, otherwise CSDN will be entrusted to the official protection of rights and interests! Spark's official documentation repeatedly emphasizes operations that will work on RDD, w ...

Posted by MikeyNoedel on Wed, 24 Apr 2019 19:12:35 -0700

Java Spring mvc

outline Introduction to Spring mvc2. Spring mvc code practice3. Project Source DownloadIV. Reference Articles   Introduction to Spring mvc 1. What is spring MVC _Spring MVC is a module of spring framework. Spring MVC and spring need not be integrated through the middle integration layer. Spring MVC is a web framework based on ...

Posted by xoligy on Wed, 24 Apr 2019 09:48:34 -0700

Using LZO compression and supporting slicing for hadoop

1. introduction: Install LZO: lzo is not native to Linux systems, so you need to download and install packages. There are at least three packages to install here. lzo, lzop, hadoop-gpl-packaging. Add index: The main function of gpl-packing is to create index for compressed lzo files. Otherwise, whether the compressed file is la ...

Posted by oaf357 on Tue, 23 Apr 2019 17:00:34 -0700

Note a jar package conflict that caused the project to fail to start [java.lang.NoSuchMethodError:javax.servlet.ServletContext]

Ever since I figured it out Under idea, Jetty uses the main method to start the web project After that, I was ready to start other web projects with jetty. Unfortunately, the first project encountered problems. Here is a record of the whole process of investigation and treatment. 1. Abnormal occurrence Project press Under idea, Jetty uses the m ...

Posted by wystan on Tue, 23 Apr 2019 13:30:34 -0700

Apache CXF: An Introduction to Web Service RPC Framework

This blog Uncle Cat's Blog For reprinting, please state your origin Learning Series What is the RPC framework? What is the RPC framework? Java has its own RPC implementation. Introduction to RMI framework Apache CXF: An Introduction to WebService RPC Framework CXF official website: http://cxf.apache.org/ Apache CXF is an open source Web Serv ...

Posted by rledieu on Tue, 23 Apr 2019 09:09:33 -0700

Using Java to Get the Visitor's Real IP Address

                Main explanation In JSP, the method to get the IP address of the client is request.getRemoteAddr(), which is effective in most cases. But through Apache,Squid and other reverse proxy software, the real IP address of the client can not be obtained. If reverse proxy software is used, the IP address obtained by requ ...

Posted by Dave2222 on Mon, 22 Apr 2019 22:09:35 -0700

Microservice Asynchronous Architecture--RocketMQ of MQ

First, what is MQ? What is the principle of MQ? MQ is the message queue, short for Message Queue. Message queuing is a way of communication. The essence of a message is a data structure. Because MQ centralizes the processing and storage of messages in the project, MQ has the functions of decoupling, concurrency and peak shaving. 1. ...

Posted by kael.shipman on Mon, 22 Apr 2019 15:36:34 -0700

Generic Object Pool and Generic Keyed Object Pool

The first two articles talked about how to use commons-pool libraries simply. One of the problems we need to consider here is that in many cases our objects in the pool are heavier and most of the scarce resources, such as database connections, so if we keep some connections in the pool and don't return them, it will take up a l ...

Posted by Penelope on Mon, 22 Apr 2019 13:57:35 -0700

Revamping of Old Projects

Preface Old project, React + PHP + nginx Project situation PHP terminal configuration In terms of PHP running environment, some of the development environments are wamp (apache + PHP), and some are np (Nginx + PHP). Operating system: Most of them are win environments, a few are MacOS systems, while the server is centOS systems. directory stru ...

Posted by zubinkasad on Sun, 21 Apr 2019 23:27:34 -0700