Spring Jdbc Template

Concept Overview In the previous tutorials we have covered the basic concepts of spring as a framework. We now start looking at how spring integrates with the other parts of the application. The main power of spring lies in its ability to talk to various other parts of the application, whatever technology they may be … Read more

Spring AOP – Annotations

Concept Overview An application may have certain features that are applicable across multiple modules. These include logging, security, transaction management, caching etc. and are commonly referred to as cross-cutting concerns. Spring provides a method to separate these cross cutting concerns as aspects and use them declaratively wherever required. There are chiefly two ways to declare … Read more

Spring AOP – Concepts and XML Configuration

Concept Overview There are certain activities like logging, security, caching, transaction management etc. that are applicable to multiple objects in a software system. Such activities are called cross-cutting concerns . Typically, although these cross-cutting concerns are conceptually separate from the application�s business logic, the code that handle the cross-cutting concerns is often intermixed with that … Read more

Spring Java Configuration

Pre-requisite trails Spring Auto-Wiring Using Annotations Spring Auto-Discovery of Beans Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor-arg and property tags. However, in large applications, the number of beans will increase and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring has 3 … Read more

Spring Automatically Discovering Beans Using @Component Annotations

Pre-requisite trails Spring Auto-Wiring Using Annotations Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor-arg and property tags. However, in large applications, the number of beans will increase and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring provides a feature called ‘Auto-Wiring’ that … Read more

Spring Auto-Wiring Using JSR 330 Annotations: Wiring String using @Value

Pre-requisite trails Spring Auto-Wire Using JSR 330 Annotations Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor-arg and property tags. However, in large applications, the number of beans will increase and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring provides a feature called … Read more

Spring Auto-Wiring Using @Named JSR 330 Annotations

Pre-requisite trails Spring Auto-Wire Using JSR 330 Annotations Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor-arg and property tags. However, in large applications, the number of beans will increase and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring provides a feature called … Read more

Spring Auto-Wiring Using JSR 330 Annotations

Pre-requisite trails Spring Auto-Wire Using Annotations Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor-arg and property tags. However, in large applications, the number of beans will increase and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring provides a feature called ‘Auto-Wiring’ that … Read more

Spring Auto-Wiring Using Annotations with Qualifiers

Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor-arg and property tags within XML configuration file. However, in large applications, the number of beans increases and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring provides a feature called ‘Auto-Wiring’ that minimizes the XML … Read more

Spring Auto-Wiring Using Annotations

Pre-requisite trails Spring Auto-Wire: By Type Concept Overview Typically in Spring, dependency injection is achieved using bean , constructor and property tags. However, in large applications, the number of beans will increase and the corresponding XML written to configure the numerous beans will become very large and unwieldly. Spring provides a feature called ‘Auto-Wiring’ that … Read more