Swipe to navigate through the chapters of this book
Spring Web is a framework that provides a Model View Controller (MVC) architecture to develop applications with Spring for the Web. In the previous chapter, we built out several servlets running within the Spring framework, but aside from the beans and other management aspects you get baked into Spring, we were still using regular servlets in the previous chapter. And as we saw in the previous chapter, nothing stops you from doing this; however as we’ll hopefully be able to show, using this module will save you loads of time.
Please log in to get access to this content
I’m laughing at writing this because Spring has offenders like the super simple, not-verbose-at-all SimpleBeanFactoryAwareAspectInstanceFactory, which, uh… yeah.
You can find more info about REST at https://en.wikipedia.org/wiki/Representational_state_transfer . If you’d like to read Dr. Fielding’s actual dissertation, it’s online, too, at www.ics.uci.edu/~fielding/pubs/dissertation/top.htm – it can be fascinating reading if only for history’s sake.
SOAP stands for Simple Object Access Protocol and is a standardized way of exchanging information with XML; you can read more about it at https://en.wikipedia.org/wiki/SOAP . Unfortunately, it’s named rather ironically: it’s actually not that simple to use.
Side effects may include dizziness, nausea, headache, bloat, and abdominal pain. Or that could just be this writing.
Idempotency problems? Ask your doctor if PUT requests are right for you.
For an explanation of CORS, you can visit https://spring.io/understanding/cors for more detail.
- Spring Web
Joseph B. Ottinger
- Sequence number
- Chapter number
- Chapter 6