Performance optimization: Trove collection library

First meeting Trove Yesterday in Startup News See an article above: Optimizing Tips Sharing: Reduce Memory Consumption to 1/20 . In this article, I mentioned a case about how to reduce memory consumption in Java applications, and summarized his optimization process. Start by storing 1.3M Person objects, consuming 1.5GB of heap space Modifi ...

Posted by nemxu on Tue, 26 Mar 2019 03:39:29 -0700

Integration and use of Dubbo with Zookeeper and Spring MVC (load balancing, fault tolerance)

With the development of Internet, the scale of website application is expanding, and the conventional vertical application architecture is unable to cope with it. Distributed service architecture and mobile computing architecture are imperative. Dubbo is a distributed service framework, which was born in this situation. Now the core business i ...

Posted by jamiefoxx on Mon, 25 Mar 2019 00:06:30 -0700

maven Learning Series 8 - Packing files in the resources directory outside the jar package

By default, maven types files from src/main/resources into the jar package together with class files, but in many scenarios, files from resources need to be packaged outside the jar package, so modifying files from resources directory does not require re-typing jar. Assuming the directory structure is as follows, there are thr ...

Posted by biffta on Sun, 24 Mar 2019 11:00:27 -0700

Jenkins - Custom Plugin Creation

1.        Building Development Environment 1.1      Install Java Development Kit (JDK) Set the environment variable'JAVA_HOME' 1.2      Install Apache Maven 1. Get the latest version from http://maven.apache.org/download.cgi Then unzip it to the directory you want to install 2. Setting the environment variable M2_HOME 3. ...

Posted by stuartbaggs on Sun, 24 Mar 2019 08:18:30 -0700

Wechat Public Number Test Account-Message Management/Event Push

Record the development process of Wechat Public Number. First, we register a public test account of Wechat. Although the subscription number registered by the individual has this function, it has no user management function. So we will develop the public account of Wechat with the test account first. Application for Wechat Test Number is her ...

Posted by ryy705 on Sun, 24 Mar 2019 00:21:29 -0700

Quickly Build Spring Boot Project

Spring boot is a lightweight web framework launched by Spring, which mainly solves the problem of configuration and development speed that Spring has been criticized for small projects. Spring Boot contains the following features: Create Spring applications that can run independently. Embedding Tomcat or Jetty servers directly does not require ...

Posted by SwiftlyTilting on Fri, 22 Mar 2019 18:12:54 -0700

SUSE12Sp3 installation configuration. net core production environment - install zookeeper offline and install visualization tools

Use root account directly 1. zookeeper installation Place the zookeeper-3.4.13.tar.gz installation package in the specified directory sudo tar -zxvf zookeeper-3.4.13.tar.gz -C /usr sudo mkdir /usr/zookeeper-3.4.13/data sudo cp /usr/zookeeper-3.4.13/conf/zoo_sample.cfg /usr/zookeeper-3.4.13/conf/zoo.cfg sudo vim /usr/zookeeper-3.4.13/conf/ ...

Posted by Wozzr on Sun, 03 Mar 2019 20:45:22 -0800

Spring 4 - Building Spring+JDBC through Maven

1. Create a Maven project with the name of the project (spring demo13), as shown in the figure.2. Configure Maven and modify the pom.xml file as follows<project xmlns="http://maven.apache.org/POM/4.0.0"  xmlns:xsi="  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0  http://maven.apache.org/xsd/maven-4.0.0.xsd"&g ...

Posted by firecircle on Wed, 13 Feb 2019 13:54:18 -0800

Spring Security 4 Security View Fragments Example(3)

I. Project structure 1. Project structure: 2. The pom.xml file is as follows: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion&gt ...

Posted by control on Tue, 12 Feb 2019 10:54:18 -0800

Spring boot starts an error-reporting Unsupported major.minor version 52.0

Spring boot starts an error-reporting Unsupported major.minor version 52.0 Problem description Start error reporting when creating spring boot hello world project, Unsupported major.minor version 52.0. Exception in thread "main" java.lang.UnsupportedClassVersionError: com/yf/springboot/Application : Unsupported major.minor version 52.0 ...

Posted by GaryE on Tue, 12 Feb 2019 10:12:19 -0800