In the previous example, we used a Java configuration to launch an application context. Spring also supports XML configuration.
The following example shows you how to launch an application context with an XML configuration. This will have two steps:
- Defining the XML Spring configuration
- Launching the application context with the XML configuration