| 1. |
What Is The Difference Between Struts And Spring Mvc? |
|
Answer» This is again a popular and frequently asked QUESTION on Java JEE Interviews. Even though both are popular WEB MVC framework for Java applications, the key difference is that SPRING brings dependency injection FIRST and Struts brings it later using Struts 2.0. Spring is also a suite of LIBRARIES e.g. you get Spring Security to implement security in your application, then there is Spring Boot, Spring Data, Spring Cloud and many more useful libraries under Spring umbrella. This is again a popular and frequently asked question on Java JEE Interviews. Even though both are popular web MVC framework for Java applications, the key difference is that Spring brings dependency injection first and Struts brings it later using Struts 2.0. Spring is also a suite of libraries e.g. you get Spring Security to implement security in your application, then there is Spring Boot, Spring Data, Spring Cloud and many more useful libraries under Spring umbrella. |
|