Spring Framework Tutorial

Spring framework is a lightweight application platform that provides infrastructure support for Java EE applications. Though its core concept of Dependency injection and AOP Spring handles the infrastructure so you can focus on your application. Spring is lightweight and enables you to build applications from “plain old Java objects” (POJOs)…

Continue reading

Spring Autowiring Using @Inject and @Named Annotations

In Spring Autowiring Using @Autowired Annotation we have already seen how container can automatically resolve collaboration among beans (bean dependencies) by annotating the dependencies with @Autowired annotation. As an alternative you can use @Inject annotation for autowiring in Spring. Table of contents @Inject and @Named annotations in Spring Using @Inject…

Continue reading