Skip to Content
Spring Start Here
book

Spring Start Here

by Laurentiu Spilca
October 2021
Beginner content levelBeginner
416 pages
11h 25m
English
Manning Publications
Content preview from Spring Start Here

Appendix B. Using XML for the context configuration

A long time ago, when I started using Spring, the developers used XML to configure the context and the Spring framework in general. Today, you can only find XML configurations in older applications that are still supported. The developers quit using XML configurations years ago and replaced them with using annotations because of the difficulty of reading the configuration code. While it’s true XML has its good points, it’s much easier to use annotations for reading and enhancing the app’s maintainability. For this reason, I decided not to include XML configurations in this book.

If you’re just now starting with Spring, my advice is to learn XML configurations only if you need to maintain an ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Spring Boot in Action

Spring Boot in Action

Craig Walls
The Complete Java Developer Course: From Beginner to Master

The Complete Java Developer Course: From Beginner to Master

Codestars By Rob Percival, John P. Baugh

Publisher Resources

ISBN: 9781617298691Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link