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.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
I just got started with Groovy/Grails and it's looking good. What's nice is you can leverage all the existing Java technlogy.
Tapestry looks very cool... after you have made a BIG effort to install it.
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.
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.
i suggest you to check out the playframework.
Why? this article sums it up nicely.
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:
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.