Developing the first SSM Web

The first time I wrote a blog, I was judged by AI that I was not an original, intelligent hammer. Next, Creating Engineering Open IDEA, open IDEA for the first time, IDEA home page will appear, click "Create New Project" and start to create SSM project (the second opening of IDEA will automati ...

Posted by kickoutbettman on Mon, 05 Aug 2019 03:39:28 -0700

Spring overview and simple introductory cases

The article is long and comprehensive. Please read it patiently. It will be updated continuously in the future. Please pay attention to it. I. What is Spring Spring is an open source, lightweight Java development framework Spring came into being to simplify enterprise application development. Using S ...

Posted by laura_richer on Mon, 05 Aug 2019 02:32:48 -0700

maven --- The "Canal" in Packaging

Since taking over the project with maven, packing has not been done manually. 1: Make a jar bag. There are many ways to make jar packages with maven. Here are two ways I have used: assembly, add the following code in pom.xml: <plugin> <artifactId>maven-assembly-plugin ...

Posted by kparish on Mon, 05 Aug 2019 00:45:34 -0700

[Spring cloud for ad system step by step] 11. Use Feign for micro-service invocation

In the previous section, we used Ribbon (Http/Tcp-based) to make microservice calls. Ribbon's calls are simple, intercept the requested service through the Ribbon component, get the IP:Port of the service instance through Eureka Server, and then invoke the API.In this lesson, we use a simpler way, using a declarative Web service client Feign, w ...

Posted by SQL Maestro on Sun, 04 Aug 2019 09:16:01 -0700

Soft Load Balancing of Client in Eureka Learning

Client Soft Load Balancing for Eureka Learning (3) This article mainly introduces how Eureka Client achieves soft load balancing (Demo demo demonstrates non-source level). My personal habits, first run a whole Demo, and then study the source code. Source code is placed in the final learning while reco ...

Posted by Saphod on Fri, 02 Aug 2019 04:45:59 -0700

Developing desktop applications in java - javaFx (learning development process)

Catalog Preface development environment development process How to Build a javaFx Project Integrated maven xml resources could not be found after integrating maven How to Implement Custom TabPane How to introduce custom css Project Packing Ex Running File (idea Edition) Project Packing Ex R ...

Posted by tonymontana on Thu, 01 Aug 2019 03:04:39 -0700

IDEA configures and runs maven web project

I. Modification of project structure 1.1 The directory structure of the project just created in idea is not standard and needs to be changed manually. Standard directory structure: https://blog.csdn.net/nothings0o/article/details/77122646 Modify the directory structure: https://blog.csdn.net/qq_34 ...

Posted by canny on Tue, 30 Jul 2019 16:24:24 -0700

Spring's javabean(POJ) is implemented by java configuration

The following reprints are from Spring's Java Configuration In order to better understand, I have modified some parts, which are basically unchanged. Java configuration is recommended by Spring 4. X and can completely replace xml configuration. 1 @Configuration and @Bean Spring's java beans are conf ...

Posted by stevengunn on Tue, 30 Jul 2019 08:32:17 -0700

Static method, mock or no mock, this is a question

King Mockito I don't know when to start. Mockito It has become the king of Java's unit testing framework. At present (July 2019), the star number on Github is approaching 10K. Look at other unit testing tools: PowerMock 2K (no doubt with Mockito light), easymock 600, JMockit 300. Compared with Mockito, it's pitiful that none of them can fight. ...

Posted by byrt on Mon, 29 Jul 2019 22:09:45 -0700

spring Framework Learning-aop-Annotation

Preface aop in annotation mode needs several new annotations 1.@Aspect// indicates that this is a faceted class 2. @Pointcut ("execution (* com.cong.service.AccountService Impl. *(.))")// pointcut expression   private void accountPointcut(){} 3. @Before (value = accountPointcut())// Pre-notification annotation, the parenthese ...

Posted by jamest on Tue, 23 Jul 2019 11:48:48 -0700