Spring / Spring MVC Interview questions
Advantages of Spring MVC over Struts.
Spring provides an integrated framework for all tiers of your application.
Spring provides a very clean separation between controllers, JavaBean models, and views.
Spring Controllers are configured using IoC like any other objects. This makes them easy to test and integrated with other objects managed by Spring.
Spring MVC web tiers are typically easier to test than Struts web tiers, due to the elimination forced concrete inheritance and explicit dependence of controllers on the dispatcher servlet.
Spring MVC is entirely based on interfaces that makes it very flexible unlike Struts, which forces your Action and Form objects into concrete inheritance.
Spring MVC is truly view-agnostic. you may choose view as JSP or Velocity, XLST or other view technologies.Developers can easily implement the Spring View interface to create a custom view mechanism.
Spring provides interceptors as well as controllers, making it easy to factor behaviors common to the handling of many requests.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
