MyBatis: Introduction, first program

Environment description: jdk 8 + MySQL 8 maven-3.6.0 IDEA (Editor) Require mastery before learning: JDBC MySQL Java Foundation Maven Junit Introduction to Mybatis What is MyBatis MyBatis is an excellent persistence framework MyBatis avoids almost all JDBC code and the process of manually setti ...

Posted by evan12 on Mon, 16 Mar 2020 19:22:23 -0700

Security problems of including cover in Android manifest.xml

0x00 about Android manifest.xml Android Manifest.xml is a required file in every Android program. It is located in the root directory of the whole project, and the Manifest file provides basic information about the application to Android System, which is required by the system to run any applicati ...

Posted by varasurf on Mon, 16 Mar 2020 06:39:38 -0700

Declarative transaction control based on XML and annotation

Article directory 1. Declarative transaction control based on XML 1.1 environment construction 1.2 transaction control configuration steps 2. Declarative transaction control based on annotation 3. Support for purely annotated transactions This paper uses the demo of account transfer to demonstr ...

Posted by mdaoust on Mon, 16 Mar 2020 04:43:06 -0700

Building simple application services of solr

Environment: Centos7 + jdk1.8 + solr-7.7.2 + tomcat-8.5.43 Centos7 download address: https://www.jianshu.com/p/a63f47e096e8 jdk1.8 download address: https://www.oracle.com/java/technologies/javase-jdk8-downloads.html solr-7.7.2 download address: http://archive.apache.org/dist/lucene/solr/ tomcat-8.5.43 download address: http://archive.apache.or ...

Posted by renegade44 on Mon, 16 Mar 2020 01:26:27 -0700

java version of spring cloud distributed microservice Spring Cloud Config-b2b2c small program E-commerce

This paper describes how a service reads files from the configuration center, and the configuration center reads configuration files from remote git. When there are many service instances, they read files from the configuration center. At this time, it can be considered to make the configuration center ...

Posted by rachelkoh on Mon, 16 Mar 2020 00:44:11 -0700

Introduction and use of freemarker

Introduction and use of freemarker 1, What is freemarker 2, How to use Freemarker 3, The syntax of freemarker template 3.1 access key in map 3.2 accessing properties in pojo 3.3 fetching the data in the set 3.4 date type format 3.5 processing of null value 3.6 import other template Include labels ...

Posted by corsc on Mon, 16 Mar 2020 00:29:56 -0700

How to dynamically add elements to listView in Android

Who can explain or suggest a tutorial for creating listView in Android? This is my request: I should be able to add new elements dynamically by pressing the button. It should be simple enough to understand (for example, there may not be any performance improvements or convertview) I know there are many questions about this topi ...

Posted by jackson4me90 on Sun, 15 Mar 2020 03:03:38 -0700

Anti font encryption attempt

Preface Based on Baidu search information, blog article research, as well as the summary of questions. Font encryption is garbled in the source code, but it is normal to display in the browser. This post is for study only.   encryption The general process of font encryption: 1. When the back-end returns data to the front-end, a unicode code is ...

Posted by snidog on Sun, 15 Mar 2020 01:20:14 -0700

spring integrates cxf to develop rest style web service interface (client & Server)

The previous article recorded how to integrate cxf to develop web service client and server in spring. In fact, compared with the native development method, there have been many optimizations. rest style development, as a very popular development specification, can help us more concise and efficient pu ...

Posted by tenaki on Sun, 15 Mar 2020 00:02:09 -0700

Servlet forward and include methods

Original link: http://www.yiidian.com/servlet/servlet-dispatcher.html Request Forwarding and Inclusion Using Servlet The RequestDispatcher interface provides the ability to forward requests to another resource, which may be Html, Servlet, or Jsp.The interface can also be used for content containing other resources. Method of 1 RequestDispatcher ...

Posted by stevengunn on Sat, 14 Mar 2020 15:55:00 -0700