当今最好的Java框架

jopen 9年前

Spring MVC & Spring Boot

Spring MVC is at the top on the list. The Spring Web MVC framework or simply Spring MVC is really a rich model view controller web framework. It usually uses a DispatcherServlet to help dispatch requests to handlers, using configurable handler mappings, view resolution and theme resolutions along with help regarding upload of files. Spring MVC users tend to be powerfully aligned and there is a statistics that forty percent of developers that use a web framework use Spring.

Spring Boot makes it easy for development teams to build efficient JVM based apps and solutions. As regards web frameworks, Spring Boot provides auto-configuration for Spring MVC which suit majority of applications. It is a good framework to start quick development of web applications, especially because it comes bundled with TomCat and Jettty.

Grails

Next to Spring MVC comes this open source web application framework for the Java virtual machine, Grails.
Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language, an agile and dynamic language for the Java Virtual Machine with convention over configuration to provide a productive and stream lined development experience.

Play

Play is used to build web applications with Java and Scala. It is built on Akka and provides optimization of resources. It has a lightweight, stateless and web-friendly architecture to keep the developer community happy.

Vaadin

Vaadin is a Java framework for building modern web applications that look great, perform well and make both developers and users happy. Based on Google Web Toolkit (GWT), Vaadin writes both apps and UI using Java.

Dropwizard

Drop wizard is a lightweight Java framework for developing ops-friendly, high-performance, RESTful web services. This framework pulls together stable, mature libraries from the Java ecosystem into a simple, light-weight package. Dropwizard extends its services to provide configuration, logging, application metrics and application tools as well as to derive niche web services with a quick turn around.

Vert.x

Vert.x is a lightweight, high performance application platform for the JVM for use by mobile, web, and enterprise applications. It is a server framework providing an event-based programming model providing asynchronous API. It has won the award for “Most Innovative Java Technology” at the JAX Innovation awards earlier in 2014.

Spark

A tiny Sinatra inspired framework for creating web applications in Java 8 with minimal effort. It does not aim to replace Sinatra in any way. It is perfect for creating quick and smaller web applications and is popularly found to be used with AngularJS. It avoids the need for XML configuration fostering quick development with no overheads.