Spring IoC container details

Dependent processing The process of container solving dependency ApplicationContext is created and initialized through configuration metadata, which describes all bean s. Configuration metadata can be XML, java code and annotation For each bean, its dependency is expressed in the form of an attribute ...

Posted by Blaze(!) on Thu, 16 Jan 2020 11:23:43 +0100

Introduction to SpringBoot + multi framework integration

1 Overview 1.1 INTRODUCTION Spring Boot is a new framework provided by the Pivotal team. It is designed based on spring 4.0, which simplifies the whole process of building and developing spring applications, and makes developers no longer need to define template configurations In short, it helps devel ...

Posted by mayfair on Thu, 16 Jan 2020 09:11:22 +0100

Android App detects new version, automatically downloads, installs and upgrades, and is compatible with Android 7.0 and above

Preface Some companies may not go to the App store after developing an App, but they also need to regularly maintain and update later, so they will choose to publish the packaged apk to their own servers, and then build a version number table in the database, and then the rest will be handed over to ...

Posted by EvilPrimate on Thu, 16 Jan 2020 06:52:13 +0100

SSH integration: Spring 5.2.2 + struts 2.5.22 + Hibernate 5.8

SSH integration: Spring 5.2.2 + struts 2.5.22 + Hibernate 5.8 1, Environment construction Database: MySQL 8JDK: 13 jar package Spring Struts Hibernate Spring integrates Hibernate Struts integrates Spring -C3p0 Connect to database Using Hibernate above JDK8 requires importing 2, ...

Posted by landonmkelsey on Sun, 12 Jan 2020 15:46:14 +0100

Android uses ViewPager to implement APP's guide page and dot

The display effect on the simulator is as follows: The general idea and code are as follows: 1. First, create a layout file, <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_widt ...

Posted by bhawap on Fri, 10 Jan 2020 16:12:17 +0100

Alipay switch

First look at the style of Alipay switch.       Without saying much, we start to analyze and achieve this effect, as shown in the figure above: 1: Draw the layout when it is not selected item_lout_select_button Effect: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.andr ...

Posted by Pro.Luv on Wed, 08 Jan 2020 17:24:27 +0100

java integrated pageoffice to open word file online, and set bookmark text color and background color with js

1, Core code 1: First you need to navigate to the location of the bookmark 2: To set the text color and background color of bookmark, vba macro is needed. 2, Specific implementation process 1. Download the integration file, introduce the jar package and configure the web.xml on the official website http://www.zhuzhengsoft.com/dowm/ G ...

Posted by renj0806 on Wed, 08 Jan 2020 05:49:50 +0100

Implementation of MyBatis Association: One-to-One

There are two entities: user and membership card. A user can only process one membership card, that is, one-to-one.     user_tb: The primary key card_no of card_tb is introduced as the foreign key.     card_tb:         Mode 1: Use extension classes to implement one-to-one (1) Create a new User class under the pojo package: package com.chy.p ...

Posted by davestewart on Tue, 07 Jan 2020 18:25:11 +0100

Three ways to parse xml

The first native parsing method DOM When parsing XML documents, the parser will write the contents of the documents into memory. If the document nodes are added, deleted or modified, they must be used Transformer transformer = TransformerFactory.newInstance().newTransformer(); transformer.transform(new DOMSource(doc), new Str ...

Posted by khan kaka on Tue, 07 Jan 2020 06:45:03 +0100

Implementation of android keyword special color display

In the process of our development, we often encounter several words in the middle of a paragraph of text that need to be displayed in special colors or sizes. There are many new developments that don't have a clue. Let me introduce several commonly used implementation methods, first of all, the renderings: 1, Multi TextView ...

Posted by defect on Tue, 07 Jan 2020 04:57:18 +0100