Start and initialize Dispatcher Servlet

Dispatcher Servlet is known to all who have used Spring MVC. Here's how to start and initialize the Servlet. As a servlet, the start of Dispatcher Servlet is related to the start process of Serlvet. In Serlvet's initialization process, Serlvet's init method is called for initialization. The source code for this initialization process in the bas ...

Added by M4F on Tue, 04 Jun 2019 04:40:22 +0300

Row-column conversion using PIVOT and UNPIVOT

In database development, we often encounter row and column to row situations, there are many ways to achieve this function, such as using CASE...WHEN..., DECODE, or PIVOT and UNPIVOT. This article explains the use of PIVOT and UNPIVOT, and hope that readers can learn the use of row to column conversion. PIVOT Syntax SELECT ...    FROM .. ...

Added by scuff on Tue, 04 Jun 2019 03:25:00 +0300

First Line Code Chapter 6 Data Storage Scheme - LitePal Database Storage

LitePal - An open source Android database framework. It uses object-relational mapping (ORM) mode to encapsulate the common database functions in development, so that it can complete all kinds of table building, deletion and modification checking operations without writing SQL statements. Use open source libraries in projects: Most open sou ...

Added by tablex on Mon, 03 Jun 2019 23:27:47 +0300

Use of IOC container Autofac

Today, I am immersed in IOC's pursuit of design patterns. I have listened to many lectures and seen many examples. This is a test project of mine. In order to test the code, I first prepared two classes: Car and ICar. These two classes are similar to DAL and IDAL in our usual project. Now let's start! 1. First add a class InitAutofac to our p ...

Added by Josh18657 on Mon, 03 Jun 2019 22:23:22 +0300

Implementing Simple IOC and AOP by Imitating Spring

1. Background When I was a senior intern, I began to contact with J2EE development work. I also came into contact with and studied Spring framework at the same time. It has been almost two years now. Nevertheless, Spring IOC and AOP have not been copied before, but they have a certain understanding of the principles of Spring IOC and AOP on the ...

Added by raymie7 on Sun, 02 Jun 2019 23:44:54 +0300

Making and Using ShapeDrawable Resources

Shape is an indispensable part of xml drawing. This article will show its usage through a set of examples. (1) Preservation and Reference Save location: res/drawable/filename.xml, file name used as resource ID. Quote: Use R.drawable.filename in a java file Use @ [package:]drawable/filename in the xml file Here's an example to illustra ...

Added by discombobulator on Sun, 02 Jun 2019 22:27:13 +0300

SharePoint REST API - Lists and List Items

Blog address: http://blog.csdn.net/FoxDave This article focuses on how to use SharePoint REST to manipulate lists and list items. Read this article first to understand the introduction and basic operation of REST described earlier. No more nonsense, let's start now. Getting list attributes with REST When you know the GUID of a list, you can use ...

Added by bob_dole on Sat, 01 Jun 2019 02:37:33 +0300

Hibernate table Association configuration

One-on-one One-to-one primary key Association 1.XML configuration Must be bi-directional The primary key generation strategy of the associated party is a foreign key generation strategy The associated party one-to-one needs to set constrained= "true" constraint <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE hibernate-ma ...

Added by GimbaL on Sat, 01 Jun 2019 01:55:49 +0300

[RK3288][Android 6.0] Key (MediaButton) controls music playback function

Platform: Rockchip OS: Android 6.0 Kernel: 3.10.92 When I was looking at the problem of automatic playback in the music background, I didn't know about this log, so I thought the log printed by default would have something to do with it. ActivityManager: Start proc 978:com.android.music/u0a29 for broadcast com.android.music/.MediaButtonInte ...

Added by PcGeniusProductions on Fri, 31 May 2019 20:01:15 +0300

Such as starting an activity in an external apk

Understanding the past, knowing that the coming can be pursued background In the last article How to start an activity that is not registered in AndroidManifest It briefly describes how to start an activity that is not declared in AndroidManifest.xml by bypassing the check of ActivityManagerSerivce(AMS).It doesn't make much sense to start an ...

Added by Roble on Thu, 30 May 2019 19:32:37 +0300