Integrating spring cloud cloud service architecture - common service project construction process
We will analyze the whole project of common service, record the whole construction process, and let more people to learn.
First, before building the common service of spring cloud, we need to prepare the following technologies:
Maven (project construction), Spring Boot, Spring Cloud, microservice concept, decentralization idea, distribution, e ...
Posted by Bertholt on Mon, 25 Nov 2019 06:36:01 -0800
Running Hadoop in Docker and image making
;
The Hadoop cluster depends on the following software: jdk, ssh, etc., so as long as these two items and Hadoop related packages are put into the image;
Profile preparation
1. Hadoop related configuration files: core-site.xm ...
Posted by Elhombrebala on Mon, 25 Nov 2019 06:31:54 -0800
On the architecture design of Tomcat
Tomcat is implemented as a servlet container, which is a lightweight application server developed based on Java language. As an application server, Tomcat has the advantages of full open source, light weight, stable performance, low deployment cost, etc., so it has become the first choice for java development and application deployment at pres ...
Posted by ade1982 on Mon, 25 Nov 2019 05:08:23 -0800
Springboot 2.0+activiti 7 Integration--Create your own business process
With the activiti framework, you first need to create a bpmn flowchart. There are two choices: one is the plug-in that comes with the ide (eclipse is good, not to mention it; the other is the plug-in that is really hard to use and has not been updated for several years); the other is the tool that activiti officially provides. activiti-app (Ver ...
Posted by neroag on Sun, 24 Nov 2019 11:36:53 -0800
Null pointer problem of spring boot filter injection into Bean
When the doFilterInternal in the filter writes the business code, it needs to use the spring bean component. It is found that the bean component cannot be initialized in the filter, which is NullpointException. After checking, the path of the scan package is OK. Finally, determine the problem caused by the loading order of ...
Posted by Roxie on Sun, 24 Nov 2019 11:30:02 -0800
Spring MVC response request processing
Article directory
I. Basic operation
How to respond to requests
1. ModelAndView mode
2. The server does not respond to the result to the client
Returns a string
4. Return to a page
Absolute path
Relative path
5. Prefix and suffix
Configure view resolver
Redirect (add a redirect)
HttpServletRequest and HttpServletResponse
...
Posted by diggysmalls on Sun, 24 Nov 2019 08:45:05 -0800
Microsoft Dynamics CRM bulk upload web resources (Unofficial WebResourceUtility) and replace entity icons
Background:
Before last year, we could upload web resources in batches according to the directory WebResourceUtility. Yesterday, we found that it was useless. It was not very convenient to get the source code of WebResourceUtility and change it. I felt that the official code was too redundant and too long, which was not in line with my simple ...
Posted by thefury on Sun, 24 Nov 2019 06:17:38 -0800
Spring Cloud Security:Oauth2 for Single Sign On
SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall
abstract
Spring Cloud Security provides a series of solutions for building secure SpringBoot applications, which can be implemented with Oauth2. The usage of single sign-on is described in detail in this article.
Introduction to Single Sign-on
Single Sign ...
Posted by Walker33 on Sat, 23 Nov 2019 20:17:57 -0800
Using WindowManager to dynamically change the height and width of dialong in android
In recent projects, it has been found that in Huawei mobile phones or some full screen mobile phones, dialog pop-up boxes may have various adaptation problems. Using WindowManager to dynamically modify dialog can perfectly solve this problem
//Dialog XML layout
final View vv = View.inflate(context, R.layout.pay, null);
...
Posted by fizzystutter on Sat, 23 Nov 2019 10:46:00 -0800
Spring Cloud Stream of spring cloud: message driven
Spring Cloud Stream is a framework for building message driven microservices. Based on Spring Boot, the framework integrates spring integration to connect message broker middleware (RabbitMQ, Kafka, etc.), provides personalized automatic configuration implementation, and introduces three core concepts: publish subscribe, consumption group and p ...
Posted by courtewing on Sat, 23 Nov 2019 09:56:15 -0800