Aviator expression evaluation engine

Application Scenarios Requirements: User portfolio system functions formulate formulas, code calls calculation. Solution: Originally intended to use java to write a compiler, but the work is more difficult. Search the web for other solutions, Aviat ...

Posted on Thu, 15 Aug 2019 20:20:59 -0700 by simoesp

maven Multi-Module Engineering--Implementation of dao Layer

How to Write Data Access Layer in maven Multimode--dao Layer Problem introduction How to write dao layer module with mybatis framework Solution dao layer module: web layer module: So how to test it? Problem introduction In recent days, I ...

Posted on Thu, 15 Aug 2019 06:40:51 -0700 by phpfolk2003

springboot-jsp jar problem

[Previous Summary] A recent project was built with the springboot+jsp structure, but when publishing a production environment, it was necessary to use maven as a jar package, but the default configuration at the beginning was not successful.The following article is the specific solution process. 1. Project structure Base, abnormal phenomenon ...

Posted on Sat, 10 Aug 2019 21:34:54 -0700 by eddjc

Docker Learns java Application Doker Deployment

The java micro-service deployment servers we wrote before are cumbersome. You need to install java on the server, configure environment variables, and then upload the war, jar package to the server deployment.Especially if you didn't use springboot before, you should install tomact, which is docker deployment today. Preparing java services pom ...

Posted on Sun, 04 Aug 2019 19:29:51 -0700 by vikette

11. RestTemplate+Ribbon Integrated Circuit Breaker Hystrix

In micro-service architecture, services are divided into small services according to business requirements, and then RPC calls can be made between services and services remotely. RestTemplate+Ribbon or Feign can be used to make RPC remote calls in Spring Cloud. To ensure high availability of services, individual services are usually deployed i ...

Posted on Sat, 03 Aug 2019 08:19:50 -0700 by strangermaster

Parsing xml files with dom4j and encapsulating them in an entity class by reflection

Links to the original text: https://www.cnblogs.com/baiqiantao/p/7478523.html First, build a maven project to introduce the corresponding dom4j Maven dependencies into pom.xml <dependency> <groupId>org.dom4j</groupId> ...

Posted on Thu, 01 Aug 2019 03:06:41 -0700 by LordMerlin

Java Timing New Posture

For a better reading experience, please visit the original text: PortalForeword: Recently, a big man came to our company and learned a lot from him. One of them is timing. Stop Watch, let's get to know it. The simplest timing In our program, it is necessary to time an operation or method so that we can observe whether the operation or metho ...

Posted on Tue, 30 Jul 2019 10:29:07 -0700 by jbrave

Learn to Use Ribbon of Spring Cloud Netflix Together

Preface Ribbon is an important component for load balancing in Spring Cloud system. There are two components in Spring Cloud system to complete service invocation, one is Ribbon+RestTemplate, the other is Feign. Feign uses Ribbon components by default, wrapping calls between services and invoking remote services like invoking methods. This exam ...

Posted on Tue, 30 Jul 2019 01:15:47 -0700 by OriginalSixRules

Dubbo Microservice Architecture Using Redis as Registry (SpringBoot)

title: Dubbo micro-service architecture using Redis as registry (SpringBoot) date: 2019-07-30 14:06:29 categories: Framework author: mrzhou tags: SpringBoot redis Dubbo Microservices RPC Preface Dubbo, as a high-performance RPC framework, has been widely used in most front-line IT enterprises. Today we will try it. In order to write as little ...

Posted on Tue, 30 Jul 2019 01:01:36 -0700 by Ironphp

Meaning of Maven Scope value

https://www.jianshu.com/p/7145f01ac3ad In the pom.xml file of a Maven project, dependency is typically given a scope property that specifies the scope of use of dependent jar packages. scope has the following five values: 1. compile (default) Dependent projects need to participate in the compilation of ...

Posted on Fri, 26 Jul 2019 18:22:41 -0700 by backinblack