Learn the basic concepts and introductory cases of using Spring MVC in IDEZ
1. Basic concepts of Spring MVC
1.1 On Three-tier Architecture and MVC
1.1.1 Three-tier Architecture
The development of server-side programs, generally based on two forms, a C/S architecture program, a B/S architecture program. The use of Java language is basically the development of B/S architect ...
Added by ph3n0m on Sun, 21 Jul 2019 09:23:57 +0300
Maven-SSM Profile
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.woniu</groupId>
<artifactId>bkee ...
Added by chet139 on Sat, 20 Jul 2019 20:43:13 +0300
Spring Boot2: Integrating Mybatis infrastructure with Spring Boot2
Warehouse Address: spring-boot-learningWelcome to star and fork, give some encouragement to the author
Preface
Mybatis was difficult to use initially, requiring various configuration files, entity classes, Dao layer mapping associations, and a large number of other configurations. mybatis-spring-boot-starter is Spring Boot+ Mybatis, which can b ...
Added by mapleleaf on Sat, 20 Jul 2019 16:21:01 +0300
Mybatis Initial Notes (10) - Delayed Loading
Questions:
In one-to-many, when we have a user, it has 100 accounts.
When inquiring the user, the account information under the user is when to use and when to query again.
When querying an account, the user information of the account should be queried again as the account is queried.
What is lazy loading
Delayed loading
Queries are initiated o ...
Added by greekhand on Sat, 20 Jul 2019 10:42:50 +0300
day13_Common Network Request Patterns in Android
Common Network Request Patterns in Android
HttpUrlConnection
1.get request
2.post request
3. Download Web Video/Music/Pictures to SD Card
I. Concept:
1.http: Hypertext Transfer Protocol (client and server), Application Layer Protocol
2.html: Hypertext Markup Language
3.xml: Extensible Markup LanguageI ...
Added by metalblend on Fri, 19 Jul 2019 16:19:12 +0300
session sharing based on redis 5: [research on redis 5.x cluster application]
Build a session sharing module based on spring session. Here, a redis-based cluster (Redis-5.0.3 version) is designed as a POM component, which is directly configured as dependency in the pom.xml file in order to meet the need of sharing sessions among the subsystems of the entire Internet of Things platform and facilitate the use of each subsy ...
Added by jboy6t9 on Fri, 19 Jul 2019 06:55:59 +0300
java implements word generation and pdf conversion
Preface
This blog mainly solves the dynamic generation of word (docx format) in java background, and converts word into pdf and adds watermarking.
Reflection
The requirement of the project is to export pdf with watermarking. The form style is still a bit complicated. It was considered that itextpdf was used to generate pdf based on html, but ...
Added by renj0806 on Fri, 19 Jul 2019 04:42:13 +0300
Simple Use of Shape Drawable and Gradient Drawable
This blog is the tenth to introduce Drawable. Unlike previous blogs, this blog introduces two Drawables at a time. The reason for this is that both Drawables use shape tags in xml. There's a little bit in common. (Shapes are specified by the root label shape)
Let's take a look at shape Drawable first.
Still the old rule, first look at the sh ...
Added by Fly on Thu, 18 Jul 2019 04:36:19 +0300
Namespaces for XML in Android
Introduction to basic concepts
Namespace
XML namespaces provide a way to avoid element naming conflicts.
For example, there is a student named Lin Xiaoming in School A and a student named Lin Xiaoming in School B. How can we identify these two students with the same name? Namespace will come in handy at this time. A and B can then be cons ...
Added by vijayfreaks on Thu, 18 Jul 2019 04:11:20 +0300
Local mode, pseudo-distributed cluster, distributed cluster and high-availability environment for HDFS systems for Hadoop 2.5.2
1. Prepare the environment (JDK and Hadoop)
$ tar -zxf hadoop-2.5.2.tar.gz -C /opt/app/
// Uninstall java from Linux, install jdk1.8, hive only supports version 1.7 or above
$ rpm -qa|grep java
$ rpm -e --nodeps java Various documents
2. Environment Configuration
Configure your environment with etc/hadoop/hadoop-env.sh in ...
Added by jeethau on Wed, 17 Jul 2019 20:20:54 +0300