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

SQL Monitoring, the Key Technology of Java Call Chain Tracking

I. General Thought of SQL Monitoring In Java, SQL monitoring is generally implemented through proxy mode, as follows: On the right is the JDBC interface class. On the left is the proxy class, which needs to implement the JDBC interface and hold object instances of the interface class. The database connection factory used to get the JDBC inte ...

Posted on Sun, 04 Aug 2019 04:13:50 -0700 by Simply Me

1. The Creation of Containers

By quickly building a spring-based web application with idea, we can start with the spring listener in web.xml 1.1 context Creation When tomcat starts a webapp application, it uses multithreading to call the start method of StandardContext, and when StandarContext starts, it calls the listener that im ...

Posted on Sat, 03 Aug 2019 23:57:08 -0700 by acidglitter

Service Fault Tolerant Component of Spring Cloud Alibaba - Sentinel [Rule Persistence]

Rule persistence-pull mode After the entinel console configures the flow control and downgrade rules for the interface resources of a micro-service, if the micro-service is restarted, the related rules of the configuration will be lost, because Sentinel stores the rules in memory by default. It is obviously unreasonable to reconfigure rules ev ...

Posted on Sat, 03 Aug 2019 08:22:07 -0700 by Diggler

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

Hand-in-hand teaching you how to build standard systems with spring boot (2) -- multiple data sources

Define several issues: What is a standard system? Standard systems are the initial systems of system architects, including all the basic integration technologies of business systems, on which any application system can be developed. Technology used in standard systems and ultimate goals a. Using sp ...

Posted on Fri, 02 Aug 2019 02:05:35 -0700 by PHPnewby!

Mule Learning (6. Controlling the Flow of Messages - Data Routing)

Links to the original text: https://www.cnblogs.com/enjoyingsoft/p/10262223.html 1. Use scenarios Let's look at a common application scenario. Our integrated application can receive requests from clients to submit orders. There are many ...

Posted on Fri, 02 Aug 2019 00:39:30 -0700 by postmanager

Pre Background System Learning Notes

Docker Packaging Deployment Steps1. mvn clean package2. Transfer the jar package under the pre-alpine folder under target and the Dockerfile to a path on the server3. cd to path4.Build mirror docker build-t pre:1.0.5. Run the command docker run --name pre-P 8081:8081-d pre:1.0 Real product-level dockerfile #Basic MirrorFROM java:openjdk-8-jre ...

Posted on Thu, 01 Aug 2019 16:41:11 -0700 by apenster

SpringBook Learning Notes: First Run Understand

I. Introduction to Spring Boot 1. Introduction to Spring Boot A framework for simplifying Spring application development; A big integration of the Spring technology stack; One-stop solution developed by J2EE; 2,Spring Boot HelloWorld One function: The browser sends the hello request, the server accepts the request and processes ...

Posted on Wed, 31 Jul 2019 11:50:36 -0700 by aldoh

Java-SSM Framework Building-Spring MVC Framework Building

Spring MVC is responsible for the presentation layer that interacts with the page, so in addition to configuring its own spring mvc. xml, it also needs to configure the front-end controller in web.xml. Following is the construction of Spring MVC framework Configure web.xml: Configure the front-end cont ...

Posted on Wed, 31 Jul 2019 05:54:02 -0700 by joebWI