Note that there are some explanatory texts on larger screens.

plurals
  1. POState of the art Java web framework for RESTful GUI apps?
    primarykey
    data
    text
    <p>Yes, I know, the old question of the best web framework ... but let me explain.</p> <p>I'm looking for Java Servlet based web framework that allowes RESTful interaktion and is also suitable to build web GUIs.</p> <p>What I want:</p> <ul> <li>REST support with http content negotiation and nice URL mapping</li> <li>data conversion from request params to domain object (and ideally the other direction too)</li> <li>no need to duplicate domain object as interface to the web (like in struts) </li> <li>easy EJB integration</li> <li>dependency injection should be performed by the Java EE server</li> <li>comprehensible code (I don't like Spring MVCs magic wirering of components in the class path)</li> <li>easy to configure (what isn't configured in Spring magically is tedious to configure in the container - i'd prefer sometimes direct dependencies)</li> <li>the wheel shouldn't be reeinvented, e. g. something like JPA and BeanValidation should be used and not reinvented by the framework, or at least these standards should be easy to use.</li> <li>Validation support with display of errors in forms</li> <li>support for internationalization</li> </ul> <p>The Candidates:</p> <ul> <li><p><strong>Spring MVC</strong> is powerful, but I'm tired of Spring configuration and don't like the programming model. I think it is a bit too abstract and flexible and hence requires to much configuration. And I don't like the way Spring MVC uses annotations. But there are also some design flaws like methods that return a value via <code>return</code> and via an output parameter - really ugly! I think it wouldn't be easy to use Spring MVC with Java EE dependency injection, since Spring MVC heavily relies on Spring DI.</p></li> <li><p><strong>Roo</strong> seems to be cool, but it is just another way to create a Spring MVC app and it does some strange things with AOP.</p></li> <li><p><strong>Struts</strong> is somewhat awkward and outdatet.</p></li> <li><p><strong>Stripes</strong> The ActionBean approach doesn't look much better than Struts. I don't like it.</p></li> <li><strong>Grails</strong> nice, but buggy (at least before 1.2). Reeinvents the wheel: I'd prefer JPA over Gorm for example.</li> </ul> <p>See also <a href="http://blog.taragana.com/index.php/archive/10-best-java-web-development-framework/" rel="noreferrer">10 Best Java Web Frameworks</a></p> <p>I'm not looking for frameworks with UI state on the Server like Wicket, Tapestry or JSF. I think this approach contradicts fundamental principles of the web!</p> <p>So what to do? Write a framework from scratch? hmm ...</p> <p>I'd like to have something like <a href="http://macstrac.blogspot.com/2009/01/jax-rs-as-one-web-framework-to-rule.html" rel="noreferrer">JAX-RS with support for classic browser GUIs</a>. For example the framework should support validation and put validation error into the redisplayed form. Is there something like that? Any recommendations?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload