Tag:spring

  • Detailed explanation of spring’s stringutils trampling record

    Time:2020-9-21

    cause Recently, when I wrote crud, I found that the robustness of paging VO was poor. I changed it for a moment. I didn’t expect that several functions had problems after the change. The original VO key codes are as follows: public class PageVo implements Serializable{ //… omit all irrelevant code Map<String, String> query } […]

  • Analysis of the implementation process of spring regular task polling local database

    Time:2020-9-18

    This article mainly introduces the spring timing task polling local database implementation process analysis, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to What we have to do is very inexplicable. It can be said that it is an […]

  • Example of using args expression in spring AOP

    Time:2020-9-17

    This paper describes the method of using args expression in spring AOP. For your reference, the details are as follows: 1. Configuration <?xml version=”1.0″ encoding=”GBK”?> <beans xmlns=”http://www.springframework.org/schema/beans” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:context=”http://www.springframework.org/schema/context” xmlns:aop=”http://www.springframework.org/schema/aop” xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd”> <! — specifies to automatically search bean components and facet classes — > <context:component-scan base-package=”org.crazyit.app.service ,org.crazyit.app.aspect”> <context:include-filter type=”annotation” expression=”org.aspectj.lang.annotation.Aspect” […]

  • Examples of implementation methods for defining pointcuts in spring AOP

    Time:2020-9-16

    This paper describes the implementation method of defining pointcuts in spring AOP. For your reference, the details are as follows: 1. Configuration <?xml version=”1.0″ encoding=”GBK”?> <beans xmlns=”http://www.springframework.org/schema/beans” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:context=”http://www.springframework.org/schema/context” xmlns:aop=”http://www.springframework.org/schema/aop” xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd”> Automatically search component class <context:component-scan base-package=”org.crazyit.app.service ,org.crazyit.app.aspect”> <context:include-filter type=”annotation” expression=”org.aspectj.lang.annotation.Aspect” /> </context:component-scan> <! — start @ AspectJ support — […]

  • Spring integration of struts 2 process

    Time:2020-9-8

    This article mainly introduces the spring integration of Struts2 process in detail, the article through the example code is very detailed, to everyone’s study or work has a certain reference learning value, need friends can refer to First add the following jar packages to the Lib folder: Basic directory: Person.java package com.gong.spring.struts2.beans; public class Person […]

  • Configuration method and detailed explanation of spring MVC framework

    Time:2020-9-3

    In addition to struts, the mainstream web MVC framework is followed by spring MVC. As a programmer, this is also the mainstream framework that a programmer needs to master. With more choices of frameworks, there are more feasible solutions to cope with changing demands and businesses. However, if you want to use spring MVC flexibly […]

  • Implementation and usage of spring level cache

    Time:2020-8-22

    This paper describes the implementation and use of spring level cache. For your reference, the details are as follows: 1. Configuration file <?xml version=”1.0″ encoding=”GBK”?> <beans xmlns=”http://www.springframework.org/schema/beans” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:p=”http://www.springframework.org/schema/p” xmlns:cache=”http://www.springframework.org/schema/cache” xmlns:context=”http://www.springframework.org/schema/context” xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd”> <context:component-scan base-package=”org.crazyit.app.service” /> <cache:annotation-driven cache-manager=”cacheManager” /> <! — the cache manager for configuring ehcache is specified through configlocation […]

  • Spring actual combat cache using key operation example

    Time:2020-8-19

    This article describes the spring actual combat cache using key operation. For your reference, the details are as follows: 1. Configuration file <?xml version=”1.0″ encoding=”GBK”?> <beans xmlns=”http://www.springframework.org/schema/beans” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:p=”http://www.springframework.org/schema/p” xmlns:cache=”http://www.springframework.org/schema/cache” xmlns:context=”http://www.springframework.org/schema/context” xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd”> <context:component-scan base-package=”org.crazyit.app.service” /> <cache:annotation-driven cache-manager=”cacheManager” /> <! — the cache manager for configuring ehcache is specified through configlocation […]

  • 65si2mnwa quenching

    Time:2020-8-18

    The oxide scale produced by quenching with 65si2mnwa has adverse effects on the subsequent cadmium plating with ammonium chloride and the performance of 65si2mnwa spring. Before cadmium plating, the alkaline solution peeling process is added. The specific process flow is: quenching – Mounting – degreasing – peeling – activation – electroplatingThe effect of peeling treatment […]

  • Analysis of spring MVC redirection implementation method

    Time:2020-8-15

    This article mainly introduces the spring MVC redirection implementation method analysis, this article through the example code introduction is very detailed, to everybody’s study or the work has certain reference study value, needs the friend may refer to (1) In general, values of string type returned by controller methods are treated as logical view names. […]

  • Analysis of the usage and configuration process of spring AOP AspectJ

    Time:2020-8-14

    This article mainly introduces the use and configuration process analysis of spring AOP AspectJ. The article introduces in detail through the example code, which has certain reference learning value for everyone’s study or work, and friends in need can refer to it AspectJ is an AOP framework based on Java language. Spring 2.0 adds support […]

  • Spring actual combat cache using condition operation example

    Time:2020-8-13

    This article describes the spring actual combat cache using condition operation. For your reference, the details are as follows: 1. Configuration file <?xml version=”1.0″ encoding=”GBK”?> <beans xmlns=”http://www.springframework.org/schema/beans” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:p=”http://www.springframework.org/schema/p” xmlns:cache=”http://www.springframework.org/schema/cache” xmlns:context=”http://www.springframework.org/schema/context” xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd”> <context:component-scan base-package=”org.crazyit.app.service” /> <cache:annotation-driven cache-manager=”cacheManager” /> <! — the cache manager for configuring ehcache is specified through configlocation […]