Spring @Component Annotation

14 years ago

The @Component Annotation Indicates that an annotated class is a "component". Such classes are considered as candidates for auto-detection when…

@PostConstruct and @PreDestroy Annotations in JSR-250 with Spring

14 years ago

In this chapter you will learn how to implement the @PostConstruct and @PreDestroy which work similar to init-method and destroy-method…

@Resource Annotation in JSR-250 with Spring Framework

14 years ago

You can use @Resource annotation on fields or setter methods and it works the same as in Java EE 5.…

Spring @Component, @Repository, @Service and @Controller Stereotype Annotations

14 years ago

In this tutorial we would discuss about the Stereotype Annotations in Spring. Spring @Component, @Repository, @Service and @Controller are Stereotype…

@Aspect Annotation in Spring

14 years ago

@AspectJ refers to a style of declaring aspects as regular Java classes annotated with Java 5 annotations. The @AspectJ style…

Spring JSR-250 Annotations with Examples

14 years ago

In this article, we will explore about the JSR-250 Annotations with the Spring Framework. JSR 250, as a Java Specification…

Spring @Qualifier Annotation

14 years ago

In previous chapter, In @Autowired annotation, The @Autowired annotation is auto wire the bean by matching data type if spring…

@Required Annotation in Spring

14 years ago

The @Required annotation is used to specify that the value of a bean property is required to be dependency injected.…

@Autowired Annotation in Spring Example

14 years ago

In last Spring Bean Autowiring in Spring in XML example, it will autowired the matched property of any bean in…

Annotations in Spring and Based Configuration

14 years ago

In Spring 2.0 introduced support for various annotations for configuration purposes, such as @Transactional, @Required and @PersistenceContext /@PersistenceUnit. Spring 2.5…