[Original] Uncle Experience Sharing (71) Using jvm tools in docker containers

jvm tools are often used in java applications for some operations. If a java application is deployed in a docker container, how do you use jvm tools? First, look at the docker image used. For example, common openjdk mirrors are divided into jdk and jre. Only the jdk version has jvm tools, so you can use the jdk version of openjdk directly. ...

Posted by degsy on Fri, 14 Jun 2019 19:43:39 +0200

Dubbo Getting Started -----dubbo hello world

Example of getting started with dubbo hello world 1. Demand In an e-commerce system, order services need to call user services to get all addresses of a user; We now need to create two service modules to test: Modular function Order Service web Module Create an order, etc. User service Module Query user addr ...

Posted by mr_badger on Sun, 09 Jun 2019 19:12:42 +0200

Spring Source Exploration: Deeply Understanding the Design and Implementation of Spring AOP

Write on the front: This article is intended for those who are familiar with Java object-oriented programming and have experience in using Spring open source frameworks. AOP is often referred to as aspect-oriented programming. The main function of AOP is to extract the same code scattered in the business system and put it in one place for manag ...

Posted by cptnwinky on Tue, 04 Jun 2019 00:46:56 +0200

[Netty] Server and Client

Welcome to Public Number: [Love Programming]If there is a need for background reply to the learning materials given 1T in 2019!! This article is based on Netty 4.1.36 for analysis Server The Netty server startup code is basically as follows: private void start() throws Exception { final EchoServerHandler serverHandler = new EchoServer ...

Posted by Mythic Fr0st on Sun, 02 Jun 2019 18:13:27 +0200

Hard Skills of Sword Finger Offer (Programming Questions 1-6)

The full source address of this example is: https://github.com/yu-linfeng/BlogRepositories/tree/master/repositories/sword Previous article Soft Skills of Sword Finger Offer I mentioned some soft skills in the interview, how to write my resume and so on. In the later chapters of Offer of Sword Fingers, there are mainly some programming problems ...

Posted by abhilashdas on Thu, 30 May 2019 22:05:34 +0200

Java Code Skills to Improve Performance

Preface Program performance is directly affected by code quality. This time, I will introduce some tips and practices in coding. Although some seemingly insignificant programming skills can bring about multiple improvements in system performance, it is worth noting. Use caution exceptions In Java development, try-catch is often used for erro ...

Posted by shahab03 on Thu, 30 May 2019 19:56:13 +0200

Android Interprocess Communication (I)

Often, memory between Android processes is not shared, so one process in Android usually cannot access the memory of another process. So, in order to realize IPC (cross-process communication), it is necessary to use some seemingly special ways, in general, the four components of Android. But for Activity, ContentProvider, Broadcast Receiver, cr ...

Posted by ow-phil on Sat, 25 May 2019 22:58:48 +0200

Two Realizations of Dynamic Agent

Today is the weekend again, and my spring trick is almost over. I want to write something when I am bored. I want to mention one thing first, for example, if you want to calculate the execution time of a piece of code, then you must have written it like this before. 1 /** 2 * Define an interface first 3 * 4 * @author chang 5 */ 6 public i ...

Posted by dawieharmse on Sun, 19 May 2019 03:36:35 +0200

Brief Introduction to commons-logging

Not original, turn from https://blog.csdn.net/backbug/article/details/78655664 Brief Introduction to commons-logging Introduction: Jakarta Commons-logging (JCL) is the earliest log facade interface provided by apache. Provides simple log implementation and log decoupling. JCL can choose whether to use Log4j (or other su ...

Posted by Jackanape on Sat, 18 May 2019 22:09:13 +0200

This article shows you the default method of interface in Java 8

Java 8 is an important version of Oracle released in March 2014, and its API introduces many new methods on existing interfaces. For example, Java 8's List interface adds a sort method. Before Java 8, each class that implements the List interface must define the implementation of the sort method, or inherit its implementation from the parent cl ...

Posted by stevebrett on Fri, 17 May 2019 16:42:39 +0200