简体   繁体   中英

How does Asp.Net MVC compare to Java MVC frameworks

I've started my career as a Java developer, then moved to Asp.NET and recently to the Asp.Net MVC, which I like a lot. When developing in Java I used Struts1, which I remember as a hideous framework with loads of XML. Now I suspect that Java MVC frameworks have moved on from the Struts times. So how do modern Java MVC frameworks compare to the ASP.Net MVC? Which one of them is the most similar to the Asp.Net MVC?

Play is very good example of MVC framework. Even more then convension-over-configuration principle i like its short edit-run cycle. Another good example of MVC framework on JVM with short edit-run cycle is Grails , though it's for Groovy langauge, not Java itself.

The main advantage of Asp.Net MVC compared to java frameworks is the simplicity that is achieved through convention over configuration

Edit: I had a look into http://www.playframework.org/ and it looks quiet simple just like Asp.Net mvc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM