• 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

June 28, 2012
7 Comments

Using ApplicationContextAware in Spring

In this chapter, we will show you a short hint about how you can access your Spring-ApplicationContext from everywhere in your Application. We’ll provide our beans with access to the ApplicationContext object by implementing the ApplicationContextAware …
Spring Core Spring Framework
June 28, 2012
No Comments

Prototype Bean Scope with Annotation

Prototype Bean Scope: If scope is set to prototype, the Spring IoC container creates new bean instance of the object every time a request for that specific bean is made. As a rule, use the …
Spring Core Spring Framework Tutorial
June 28, 2012
No Comments

Singleton Bean Scope in Spring

Singleton Bean Scope: Scopes a single bean definition to a single object instance per Spring IoC container. This is the default behavior of the spring container.  When a bean is a singleton, only one shared …
Spring Core Spring Framework Tutorial
June 25, 2012
1 Comment

Spring Autowiring by AutoDetect with Example

In Spring Autowiring by AutoDetect means If a default constructor is found, uses “constructor“; Otherwise, uses “byType“. In this case, since there is a default constructor in “Circle” class, so, Spring auto wired it via constructor …
Spring Core Spring Framework
June 25, 2012
No Comments

Spring Autowiring by Constructor

In Spring “Autowiring by Constructor means” autowiring is actually autowiring by type it means if data type of a bean is same as the data type of other bean constructor argument, auto wire it.Spring container …
Spring Core Spring Framework
June 25, 2012
1 Comment

Spring Bean Scopes in IoC Container

In this article we will discuss about Spring bean scopes. In Spring application, we get the bean from the Spring container with some default configuration. Default behavior is that every beans in the Spring container …
Spring Core Spring Framework
June 25, 2012
No Comments

Spring Autowiring by Type

In Spring “Autowire byType means” autowiring is done by property data type. Spring container looks at the properties of the beans on which autowire attribute is set to byType in the XML configuration file. It …
Spring Core Spring Framework
  • 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