• Core Java
    • Core Java
    • Java 8 Certification
    • Interview Q/A
  • Spring Boot
  • Spring
    • Spring Core
    • Spring AOP
    • Spring MVC
    • Spring Security
    • Microservices
    • Spring 4
    • Spring 5
    • Spring Batch
    • Spring Mobile
    • Spring HATEOAS
  • Hibernate
    • Hibernate Search
  • Tutorials
    • Design Patterns
    • Web Services
      • WS Interview Questions
      • JAX-WS (SOAP)
      • JAX-RS (REST)
      • WSDL
      • SOAP
      • Cloud Computing
    • Struts 2 Tutorial
    • J2EE Tutorial
      • Servlet Tutorial
      • JSP Tutorial
      • JSTL Tutorial
      • JDBC Tutorial
      • JAX B Tutorial
      • Java Mail API
    • Hadoop Tutorial
    • AJAX Tutorial
    • Build Tools
      • Maven
      • Gradle
      • ANT
    • Mongo DB
    • Thymeleaf
    • Git
    • Linux
  • Interview Q/A
    • Spring Interview
    • AOP Interview
    • MVC Interview
    • Spring Boot Interview
    • Microservices Interview
    • Spring Security Interview
    • Web Service Interview
  • Training
    • Who I Am
    • Privacy Policy

Dinesh on Java

July 13, 2012
No Comments

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

In this chapter you will learn how to implement the @PostConstruct and @PreDestroy which work similar to init-method and destroy-method in bean configuration file (spring.xml) describe in earlier chapter or implement the InitializingBean and DisposableBean …
Spring Core Spring Framework Tutorial
July 13, 2012
No Comments

@Resource Annotation in JSR-250 with Spring Framework

You can use @Resource annotation on fields or setter methods and it works the same as in Java EE 5. The @Resource annotation takes a ‘name‘ attribute which will be interpreted as the bean name …
Spring Core Spring Framework Tutorial
July 11, 2012
No Comments

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

In this tutorial we would discuss about the Stereotype Annotations in Spring. Spring @Component, @Repository, @Service and @Controller are Stereotype Annotations. @Component is generic stereotype annotation for any Spring-managed component. In the previous version Spring …
Spring Core Spring Framework Tutorial
July 11, 2012
No Comments

@Aspect Annotation in Spring

@AspectJ refers to a style of declaring aspects as regular Java classes annotated with Java 5 annotations. The @AspectJ style was introduced by the AspectJ project as part of the AspectJ 5 release. Spring 2.0 …
Spring AOP Spring Framework
July 11, 2012
No Comments

Spring JSR-250 Annotations with Examples

In this article, we will explore about the JSR-250 Annotations with the Spring Framework. JSR 250, as a Java Specification Request, has the objective to define a set of annotations that address common semantic concepts …
Spring Core Spring Framework
July 10, 2012
No Comments

Spring @Qualifier Annotation

In previous chapter, In @Autowired annotation, The @Autowired annotation is auto wire the bean by matching data type if spring container find more than one beans same data type then it find by name. Suppose …
Spring Core Spring Framework Tutorial
July 10, 2012
No Comments

@Required Annotation in Spring

The @Required annotation is used to specify that the value of a bean property is required to be dependency injected. That means, an error is caused if a value is not specified for that property. …
Spring Core Spring Framework Tutorial
  • Previous
  • Next
Learn various design patterns and best practices and use them to solve common design problems.
Spring-5-Design-Pattern
Learn Spring Boot 2.0 and Spring Cloud Application Microservices Architecture to solve common cloud native problems.
Spring-5-Design-Pattern
Designing Applications with Spring Boot 2.2 and React JS: Let us full stack development with Spring Boot and React JS.
Designing Applications with Spring Boot 2.2 and React JS
Hands-On Microservices - Monitoring and Testing: A performance engineer's guide to the continuous testing and monitoring of microservices.
Dinesh on Java Copyright © 2026.
  • Core Java
    • Core Java
    • Java 8 Certification
    • Interview Q/A
  • Spring Boot
  • Spring
    • Spring Core
    • Spring AOP
    • Spring MVC
    • Spring Security
    • Microservices
    • Spring 4
    • Spring 5
    • Spring Batch
    • Spring Mobile
    • Spring HATEOAS
  • Hibernate
    • Hibernate Search
  • Tutorials
    • Design Patterns
    • Web Services
      • WS Interview Questions
      • JAX-WS (SOAP)
      • JAX-RS (REST)
      • WSDL
      • SOAP
      • Cloud Computing
    • Struts 2 Tutorial
    • J2EE Tutorial
      • Servlet Tutorial
      • JSP Tutorial
      • JSTL Tutorial
      • JDBC Tutorial
      • JAX B Tutorial
      • Java Mail API
    • Hadoop Tutorial
    • AJAX Tutorial
    • Build Tools
      • Maven
      • Gradle
      • ANT
    • Mongo DB
    • Thymeleaf
    • Git
    • Linux
  • Interview Q/A
    • Spring Interview
    • AOP Interview
    • MVC Interview
    • Spring Boot Interview
    • Microservices Interview
    • Spring Security Interview
    • Web Service Interview
  • Training
    • Who I Am
    • Privacy Policy