Spring 5 Learning Series 3 register components 3 @ Conditional and @ Import annotation usage

The previous article mainly introduced two methods of @ bean @ ComponentScan package scanning injection. Today, I will introduce the related usage of @ Conditional injection and @ import component import 1. First, the usage of @ Conditional: judge according to certain conditions, register the beans ...

Posted by gkelley091565 on Thu, 30 Jan 2020 00:32:38 -0800

Test, data pump export during DML operation

The main test is what happens to expdp when a table has DML action. This test mainly opens three windows, one is to insert data, about 100W pieces will be inserted for a long time. The second window queries the inserted data, of course, it does not query 100W pieces. In the third window, when inserting data, perform data pump e ...

Posted by danville on Wed, 29 Jan 2020 08:02:52 -0800

The application of SMB in Java

Catalog SMB service operations I Introduction to SMB Ⅱ SMB configuration 2.1 Windows SMB Ⅲ add SMB dependency Ⅳ path format Ⅴ operation sharing Ⅵ login verification SMB service operations I Introduction to SMB SMB (full name is Server Message Block) is a ...

Posted by tridean34 on Wed, 29 Jan 2020 02:41:12 -0800

C Note: object serialization and XML file

(1) Object serialization and deserialization 1) Insufficient text saving objects When the attributes of an object change, the number of information writes or reads needs to be increased or decreased; Poor information security; 2) New method of object saving: Use serialization and deserializati ...

Posted by somedude on Tue, 28 Jan 2020 20:12:03 -0800

Test: OutOfMemoryError exception

Catalog 1, purpose 2. Practice (jdk8) 2.1 Java heap overflow 2.2 virtual machine stack and local method stack overflow 2.3 method area and runtime constant pool overflow 2.4 local direct memory overflow Reference resources 1, purpose Verify the contents stored in each runtime area described ...

Posted by ahmedkl on Tue, 28 Jan 2020 20:04:03 -0800

Java makes a window component that can be dragged in the window

A lot of daily software, some of the components (pictures, buttons, etc.) can be dragged in the window. How is this achieved? Let me share a demo of Java's draggable components. We mainly use mouse events in Java. First of all, in Java, we have a coordinate system in our screen. The left vertex of ...

Posted by MartinAW on Tue, 28 Jan 2020 03:01:34 -0800

python crawler - crawl cat-eye movie top100 using requests Library

Use the requests library to capture the contents of the cat-eye movie TOPl100. Target site: https://maoyan.com/board/4 1. Grab Home Page Define the get_one_page method and pass it a url parameterNote: Cat Eye Movie website has anti-crawling measures, you can crawl after setting headers import reque ...

Posted by TylerL on Sun, 26 Jan 2020 20:10:10 -0800

Basic concept and operation of Git

Blog Outline:1, Get to know Git2, Git installation configuration3, Git workflow4, Git workspace, staging area, and version Library5, Git basic operation 1, Get to know Git Git is an open source distributed version control system for agile and efficient processing of any large or small project. Git is an open source version control software d ...

Posted by tony-kidsdirect on Sun, 26 Jan 2020 08:24:01 -0800

Notes on Android 8.0 in the code

1, Cancel most static registration broadcasts Today, when I was doing the download task, I monitored the download progress through the broadcast. It was normal in 7.0, but running on 8.0, it failed. After checking, I found that 8.0 started to cancel most of the broadcast static registration 1. Register dynamically on the page ...

Posted by Derleek on Sun, 26 Jan 2020 06:55:40 -0800

Crawler learning (used by requests Library)

requests Library Although the urlib module in Python's standard library already contains most of the functions we usually use, its API is not very good, and Requests is advertised as "HTTP for Humans", indicating that it is more concise and convenient to use. Installation and documentation address: pip is very convenient to install: p ...

Posted by habuchas on Sun, 26 Jan 2020 03:44:04 -0800