How spring AOP generates proxy objects

The framework is to leave the complex to itself, the simple to coden, as simple as writing hello world When developing Spring AOP programs in the early years, aop was configured with xml files (now xml is not popular, annotation @ EnableAspectJAutoProxy is popular), and then framework parsing, For example: How is this configuration resolved, ...

Added by Gaia on Tue, 05 May 2020 11:14:38 +0300

Use of Spring JDBC

Spring's JDBC module is responsible for database resource management and error handling, which greatly simplifies the operation of the database by the developers, so that the developers can get rid of the tedious database operation, so as to put more energy into writing business logic. For the Spring framework of database operation, the JdbcTem ...

Added by twilitegxa on Tue, 05 May 2020 09:44:21 +0300

Response object of Servlet

Response object Function: set response message Set response line Format: HTTP/1.1 200 ok Set status code: setStatus (int sc) Set response header: setHeader (String name, String value) Set response body Use steps Get output stream Character output: PrintWrite getWriter() Byte output stream: ServletOutputStream getoutputstream() Output ...

Added by SoaringUSAEagle on Sun, 03 May 2020 16:18:35 +0300

tyboot - Rapid development of scaffolding based on Spring Boot

tyboot Source code: https://gitee.com/magintursh/tyboot https://github.com/magintursh/tyboot If you like, you can give a star for more people to see. introduce tyboot is a springboot-based service-side scaffold for the rapid development of single services. You need a micro-service solution to see another project, tycloud (still under improveme ...

Added by peterg012 on Sun, 03 May 2020 14:28:45 +0300

Android advanced way: setting and monitoring in the lower right corner of the soft keyboard

In the project, you may encounter the need to modify the button at the bottom right corner of the soft keyboard. Although you have written it several times, you still feel relieved to concentrate on taking notes here. Effect : Note (key points): Xml medium 1. Confirm the function display keyboard in the lower rig ...

Added by texmansru47 on Sun, 03 May 2020 13:58:44 +0300

Mybatis dynamic SQL query and update

Queries are often used to < if > < choose > < when > < otherwise > < trim > tags, and they all support ognl expressions --|The < if > condition judgment is the same as if in Java, such as <if test="id!=null and id!=''"> --|< choose > is just like Java's switch with break, which is used with < ...

Added by clio-stylers on Sun, 03 May 2020 09:51:47 +0300

Android Road 36 - Android network operation

Guide reading 1. Basic knowledge of network operation 2. Basic knowledge of JSON 3. Request data and analysis from the server Basic knowledge of network operation Basic knowledge of JSON A bracket represents a collection, and a curly bracket represents an object Request data from server and parse JSON me ...

Added by rIkLuNd on Sun, 03 May 2020 03:18:50 +0300

android realizes the function of manual signature after consumption of UnionPay card machine

A few days ago, I went to the property management office to pay the property fee. The property management staff said that the community introduced high-tech products. After using the bank card for consumption, I didn't need to sign on the UnionPay machine with a pen. I directly touched with my finger to sign the consumption. At that time, I tho ...

Added by steviewdr on Sat, 02 May 2020 12:26:48 +0300

Notes for Android Beginners (2): the simplest code for mobile phone vibration

Beginners are most likely to be confused by the code when they first touch the code, so they should give the minimum generation of core code for beginners, first make clear the core code, and then expand the knowledge, so that the learning effect will be better. There are a lot of codes on the Internet, which make begi ...

Added by my800stuff on Sat, 02 May 2020 06:25:55 +0300

Several implementation methods of Android text vertical scrolling and vertical horse riding lamp

Method 1: use the system control ViewFlipper mode: Layout file: <ViewFlipper android:id="@+id/view_flipper" android:layout_width="300dp" android:layout_height="35dp" android:layout_centerInParent="true" android:autoStart="true" android:background="@drawable/warning_bg" android: ...

Added by DarkSuperHero on Fri, 01 May 2020 19:56:52 +0300