问题
in your opinion, what is java web framework that most close to or similar to the paradigm of the Ruby on Rails (like convention over configuration, DRY, noXML, etc), but without the need to learn scripting languages like Groovy. And of course have a great documentation and community.
回答1:
You can take a look to Play Framework it follow MVC and RESTful architectures.
回答2:
Take a look at Grails which follows the paradigms of Ruby on Rails.
回答3:
Maybe too late, but have looked at Spring Roo?
回答4:
This question is a bit old, but this information may still be useful for people looking for a good java framework: Try ninja framework (http://www.ninjaframework.org). I have tried various java web frameworks and this one was by far the easiest to setup and use. Just follow the tutorial on their page.
Developing with it is very easy, ninja web projects are standard Maven projects so you can open them with any ide that supports Maven. For example, you can open the project with Netbeans, and have the development server running in a commandprompt/terminal window. Any time you save your changes the development server will pickup your changes and restart very quickly. Or you can use a standard text editor if you want.
Very comfortable to develop with. You can also debug very easily from Netbeans (http://www.ninjaframework.org/documentation/debugging.html)
Note: if you use an ide like netbeans, you dont actually run the project from netbeans, you just edit your changes on the ide and save. The development server picks up the changes automatically.
回答5:
I think Stripes is what you are after.
http://www.stripesframework.org/display/stripes/Home
回答6:
You can also take a look at Java on Rails
http://www.javaonrails.net/
来源:https://stackoverflow.com/questions/6147398/java-web-framework-similar-with-ruby-on-rails-paradigm