© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
F. Gutierrez, J. B. OttingerIntroducing Spring Framework 6https://doi.org/10.1007/978-1-4842-8637-1_3

3. Applying Different Configurations

Felipe Gutierrez1   and Joseph B. Ottinger2
(1)
Cary, NC, USA
(2)
YOUNGSVILLE, NC, USA
 

The Spring Framework supports different ways to configure its container, and this chapter will cover the XML configuration used previously. Also, you are going to learn how you can accomplish the same configuration using different programmatic mechanisms, which are recommended by the Spring Team.

In the previous chapter, you defined your Spring application, My Documents, and you saw how to use a programmatic configuration file to inject your ...

Get Introducing Spring Framework 6: Learning and Building Java-based Applications With Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.