Best Web applications framework for Java? [closed]

2020-01-27 02:34发布

Which is the best framework for Java? I'm looking for something similar to Symfony for php and Ruby-On-Rails for Ruby? I even don't know if anything such exists for Java or not.

18条回答
成全新的幸福
2楼-- · 2020-01-27 03:14

I just got started with Groovy/Grails and it's looking good. What's nice is you can leverage all the existing Java technlogy.

查看更多
相关推荐>>
3楼-- · 2020-01-27 03:14

Tapestry looks very cool... after you have made a BIG effort to install it.

查看更多
不美不萌又怎样
4楼-- · 2020-01-27 03:15

My current preferred Web Application Framework is the Play Framework. http://www.playframework.org.

I have used many of the other frameworks listed, such as Struts, Seam etc, but I have never used a framework that is so quick, and productive as Play. It reduces the amount of code needed to develop (rather than build boilerplate code like Roo), and it removes the code-build-deploy cycle. Compilation is done automatically by Play, and errors are displayed in the browser, making for highly successful immediate feedback.

If nothing else, I would recommend going to the Play homepage and taking a look at the screencast. It is a few minutes long, but shows the power of the framework.

查看更多
欢心
5楼-- · 2020-01-27 03:15

Grails is fantastic if you need to run on a JVM. If you want to stick strictly to Java (not a dynamic language), I think spring would be your best bet.

查看更多
三岁会撩人
6楼-- · 2020-01-27 03:19

i suggest you to check out the playframework.

Why? this article sums it up nicely.

查看更多
爱情/是我丢掉的垃圾
7楼-- · 2020-01-27 03:20

I'm not sure if you're being sarcastic or not, but if you're not here's a partial list of Java Web Frameworks:

  1. Java Server Faces (official Sun spec), various implementations are available
  2. Apache Struts
  3. Apache Shale
  4. Apache Tapestry
  5. Apache Wicket
  6. OpenSymphony WebWork
  7. Spring Framework MVC

Having only used a few of these, I can't really tell you which one is the best. Spring MVC is my personal favorite for more content oriented sites, but I'd use JSF if it's more the traditional web application (application with a web interface).

The joke amongst Java developers, generally, isn't if there's a framework/library for a certain application, but which of the dozens of options to use.

查看更多
登录 后发表回答