Spring boot three moves combo, Step by step let you play elegant back-end interface

Thank you for your reference- http://bjbsair.com/2020-04-01/tech-info/18394.html Preface A back-end interface is roughly divided into four parts: interface address (url), interface request method (get, post, etc.), request data (request), response data (response). How to build these parts? Each company has different requirements. There is no &q ...

Posted on Sun, 05 Apr 2020 22:50:21 -0400 by ransingin

1. Use dom4j to parse XML file

1, Introduction of dom4j   dom4j is a Java XML API, an upgrade of jdom, which is used to read and write XML files. dom4j is a very good Java XML API has the characteristics of excellent performance, powerful function and extremely easy to use. Its performance is better than the official dom technology of Sun company. At the same time, it is als ...

Posted on Sun, 05 Apr 2020 17:03:46 -0400 by Mig

JPA Object Relational Mapping--Cascading Operations

Object mapping relationship is divided into one-way relationship and two-way relationship. One-way relationship only exists on one object and two-way relationship exists on both objects. 1. One-way relationship public class Department implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer d ...

Posted on Tue, 17 Mar 2020 12:49:24 -0400 by Zanne

Which is better, activiti or jbpm

In the development of common ERP system and OA system, Workflow engine Is an essential tool. Before, there was a comparison between activiti and jbpm when selecting workflow engine. At that time, the decision was to use jbpm, but it was found that this choice was not appropriate in the actual development process. At present, we choose activiti ...

Posted on Tue, 17 Mar 2020 06:33:51 -0400 by bdichiara

You don't know how SpringBoot boot works!

Startup principle of SpringBoot @[toc] Use Spring Boot First open IDEA to create a Spring Boot project Select SpringInitializer and the next process is not cumbersome. Then we opened the pom file and found that Srping Boot has a configuration dependency Startup Dependency <dependency> <groupId>org.springframework.boo ...

Posted on Mon, 16 Mar 2020 12:44:26 -0400 by cyandi_man

Hibernate's annotation method of joint primary key

Hibernate union primary key annotation method, that is, a table in Hibernate has multiple fields united as a unique primary key. At this time, you can use the federated primary key of hibernate to operate. Take the user table as an example, userId+userName is the unique primary key, because sometimes the names of multiple users are the same. If ...

Posted on Mon, 16 Mar 2020 00:28:05 -0400 by bkbragg

Common encryption modes in java

java encryption algorithms include: 1. BASE64 strictly speaking, it belongs to encoding format, not encryption algorithm 2. Summary algorithm 3. Symmetric encryption 4. Asymmetric encryption 1, Base64 encoding can be used to pass long identity information in HTTP environment. For example, in the Java Persistence system Hibernate, Base64 is use ...

Posted on Wed, 11 Mar 2020 01:00:53 -0400 by Ellen67

Breakthrough Strategy for Day High and Low Points

Preface Previously, I heard a sentence: To make a lot of money, you must learn to hold a long-term position, but if you want to make fast money, you must learn to trade within days.Today, the range of quantitative transactions is amazing, and various trading strategies emerge one after another, the most popular of which is intraday trading str ...

Posted on Mon, 24 Feb 2020 22:08:43 -0500 by FirePhoenix

Analysis of manipulating objects by using association relationship in Hibernate 5 -- one-to-one association relationship

One to one relationship There are two ways to implement one-to-one association in Hibernate 5: primary key Association and foreign key Association. 1. Primary key Association Key point of primary key Association: two associated tables share a primary key value. For example, if a company is registered ...

Posted on Sat, 22 Feb 2020 07:43:52 -0500 by arpowers

Hibernate learning crud operations on entity classes

Article directory 1 preliminary preparation 1.1 environment construction 1.2 create tool class to implement the creation of table 1.3 create test class 2 crud operation implementation 2.1 add 2.2 query by id 2.3 amendment 2.4 delete 1 preliminary preparation 1.1 environment construction se ...

Posted on Fri, 21 Feb 2020 03:08:11 -0500 by ginoitalo