My Two Cents

  • Home

Dependency Injection

JAVA

Dependency Injection in Spring without XML

Overview In previous blog, we saw Dependency Injection in Spring using Annotation. Here we will see how we can do the same using Annotation but without defining Autoscan in XML. We will make use of @Configuration and @Bean to define configuration the same as we did for XML in above Read more…

By Ashish, 7 yearsAugust 15, 2018 ago
JAVA

Dependency Injection in Spring using XML

Overview In my previous blog we saw an overview of Spring IoC and DI. Here we will see Dependency Injection (DI) in detail by answering following question: What is DI Ways of injecting Dependency using XML Dependency Injection Dependency Injection (DI) is a design pattern that removes the dependency from Read more…

By Ashish, 7 yearsAugust 8, 2018 ago
JAVA

Inversion of Control and Dependency Injection with Spring – Overview

Overview In this blog, we will cover following points What is IoC Spring IoC Container Dependency Injection in Spring Example Code Inversion of Control(IoC) Inversion of Control is a principle in software engineering by which the control of objects or portions of a program is transferred to a container or Read more…

By Ashish, 7 yearsAugust 7, 2018 ago
Categories
Apache Tomcat (1) BDD (1) Collections (3) Git (2) JAVA (43) Javascript (1) JAX-RS (1) jQuery (1) JSON (2) MAVEN (2) Nginx (1) Spring (9) SSL Certification (1)
Recent Posts
  • Karate in Action – Rest API testing
  • Overview of @Component, @Controller, @Repository, @Service
  • Server Side Pagination using jQuery Datatable
  • Spring Retry in Action
  • RestTemplate in Spring

  • Home
Hestia | Developed by ThemeIsle