Android Studio uses Nexus to build Maven private clothes and upload JCenter

I. Nexus Environment Construction When looking for information online, I found that the file structure of each version of Nexus is very different. I used Nexus 3.4, which is the latest version up to July 8, 2017. 1. Download Download address: http://www.sonatype.org/nexus/ NEXUS REPOSITORY MANAGER OSS [Open Source Software - Free] NEXUS REPOSIT ...

Posted by Dax on Mon, 24 Dec 2018 23:36:06 -0800

json.parseObject() method and json.tojsonString() method in JSON

JSON.parseObject is to convert Json strings into corresponding objects; JSON.toJSONString is to convert objects into Json strings. Json strings are very common in the transmission process of the front and back end. We will not introduce their functions here. Let's give a few examples to help us understand the usage of these two ...

Posted by frijole on Sat, 22 Dec 2018 11:33:05 -0800

IDEA 2017 SSM Framework Integration Build Maven + Spring + Spring MVC + MyBatis

Message: This paper uses IDEA to develop, and suggests to build the project first according to the article order. As long as the directory structure is built first, it is the problem of copy and paste. Inside the code also has comments, first build up, slowly looking at the code thinking, want to ask what to do? Even if you are a beginner, you ...

Posted by Kieran Huggins on Thu, 20 Dec 2018 03:54:05 -0800

spring cloud Starter Series 7: A Git-based Distributed Configuration Center -- Spring Cloud Config

The spring cloud components we touched on earlier are all based on Netflix components. This time, let's look at a brand new project created by the spring cloud team itself: Spring Cloud Config.It is used to provide centralized external configuration support for infrastructure and micro services in distributed systems. It is divided into two par ...

Posted by hayson1991 on Mon, 17 Dec 2018 15:54:04 -0800

Spring Cloud Initial Eureka-Consumer Service Consumption (Ribbon) (II)

In the previous article, Load Balancer Client was introduced to achieve load balancing. Here, Spring cloud ribbon is introduced. 1,ribbon Spring Cloud Ribbon is a client-side load balancing tool based on Http and TCP, which is implemented on Netflix Ribbon. Unlike service registries, configuration centers and API gateways, Ribbon is not deploye ...

Posted by dyntryx on Mon, 17 Dec 2018 14:54:04 -0800

Complete example of Dubbo + zookeeper + jsp + spring MVC + Spring + mybatis + MySQL + maven

The project is divided into three parts, which are divided into three Maven projects (web-based, so the last one created for maven) 1. Interface Definition and Entity Class Definition (api+pojo) - - maven creates a java project and packages it into jar 2.dubbo's service provider: Define the interface implementation. The bottom layer uses mybati ...

Posted by mydimension on Sun, 16 Dec 2018 03:03:04 -0800

Spring Data JPA (II): Spring Boot Integrated H2

H2 is an open source relational database implemented in pure java provided by Thomas Mueller. Preface This article guides you to integrate H2 memory databases using Spring Boot, Spring Data JPA. For more information on H2 data: http://www.h2database.com/html/tutorial.html Get ready JDK 1.8 or later Maven 3 or later technology stack Spring ...

Posted by Jonah Bron on Fri, 14 Dec 2018 10:18:03 -0800

one-to-one, one-to-many, manty-to-one and many-to-many of JPA relational mappings

Spring Data JPA is a sub-project of Spring Data. By providing JPA-based Repository, it greatly reduces the amount of code JPA is used as a data access scheme. You only need to write an interface defined within Spring Data JPA under interface integration to complete simple CRUD operations. Preface This article guides you through Spring Boot, S ...

Posted by romanali on Fri, 14 Dec 2018 08:48:03 -0800

Flying-saucer + iText + Freemarker implements pdf export, supports Chinese, css and pictures

Preface There is a requirement in the project to export the contract content to pdf. IText is an open source Java library for generating PDF documents. It can dynamically generate PDF from XML or database. It can also encrypt documents, control privileges, and support Java/C# etc. But the HTML parser provided by iText itself is not strong enoug ...

Posted by hussainz2000 on Thu, 13 Dec 2018 23:12:06 -0800

Pluggable Annotation Processing API

Java Magic - Pluggable Annotation Processing API Reference material New feature 6 of JDK6: Pluggable Annotation Processing API Java Annotation Processing and Creating a Builder brief introduction Pluggable Annotation Processing API JSR 269 Provide a standard API to handle Annotations JSR 175 In fact, JSR 269 is not only used to deal with Anno ...

Posted by Dave2711 on Tue, 11 Dec 2018 17:06:06 -0800