by Jim White | Jan 17, 2014 | Java, Spring Framework, Web Development
How to use Spring’s WebApplicationInitializer The DispatcherServlet has always served as the doorway component or “front controller” in a Spring Framework Web MVC application. It’s job has been and still is to marshal requests to other...
by Jim White | Dec 26, 2013 | Java, Spring Framework
This post is part of my series on some of the new Spring 4 features. As of Spring 4, generic types can be used to determine what bean should be dependency injected (either by XML or annotation). Wiring By Generic Type An example can help clarify this new feature. ...
by Jim White | Dec 18, 2013 | Java, Spring Framework
The Spring Framework started adding annotations to Spring development with version 2. Each release has added more annotations. Annotations provide a powerful means to define and wire your beans, configure cross cutting concerns (like transactions) and much more. ...
by Jim White | Dec 13, 2013 | Java, Spring Framework
Spring 4 – Conditional Bean Configuration As part of my series on the new features in Spring Framework, version 4, I’d like to present how to use the new Condition interface and @Conditional annotation. Spring 4 was released in GA in 2013. Yet you may be...
by Jim White | Dec 11, 2013 | Java, Spring Framework
Spring 4 offers an array of new features. As with all releases, some of the new features are big and impactful. Others are tiny but helpful. Autowiring Collections One of the new small features in Spring 4 is the ability to use @Order with autowiring. There has...