views:

184

answers:

6

I know recently Spring 3.0 was released which brought about a nice new set of features and ease of web development with their MVC package. However are there any new frameworks on the horizon and/or new versions of other frameworks that a web developer should have their eyes on?

I heard about the Stripes framework, but it seems as though development has stopped. It also seems grails has a new release coming out as well which that looks like it is just an update to support the new features in the latest groovy release.

+3  A: 

Look also at the Spring Roo and Play framework and I almost forgot about the Vaadin. There are often enough new/upgraded java web frameworks:)

Gabriel Ščerbák
Ah I had forgotten about the Play framework. I hadn't seen any news from it in quite some time. Roo seems interesting. Seems like it almost duplicates the effort of Grails which is also a springsource project.
predhme
@predhme Grails is afaik for Groovy, not Java, so it is a bit difference, Spring Roo on the other hand is more based on AOP.
Gabriel Ščerbák
True statement. Just feels like they both "function" the same and are under the same umbrella. Both have their place though.
predhme
Vaadin looks interesting. I have never heard of it, yet it's in it's 6th major release. Looking into it, it seems it's another one of those frameworks where you write everything in java. I don't particularly like that paradigm for one major reason and it's the same as why apple denied flash. When one program in one language for another, you lose the power of the target language. You cannot implement new features until the implementing language has adopted them.
predhme
Depends what you mean by the power of target langauge... The advantage for is abstraction over low level details as browser compatibility which really dows not interest me, I want to create applications.
Gabriel Ščerbák
+1  A: 

Have a look at JSF with JSR-299 in the JEE6 standard. You can do quite a bit, and it is standardized.

Thorbjørn Ravn Andersen
+3  A: 

Apache Wicket - light-weight component-based web application framework with strong separation of presentation and business logic.

Jacek S
+1  A: 

Version 2.0 of the Google Web Toolkit was released back in December. Some of the new stuff:

  • Development Mode: Previously you needed to use a "hosted mode" pseudo browser to quickly test your code (i.e. avoid a compile/deploy step). In 2.0, development mode allows on-the-fly running and debugging in any browser. This give big wins in speed and tooling (you can use Firebug etc.)
  • Speed Tracer: A plugin for Chrome that gives you highly detailed performance profiling for your GWT (or any) client AJAX code.
  • Compiler Optimizations: One of the great things about GWT is that the compiler is improved almost with every release meaning that you get a performance boost just by recompiling your code.
  • Code Splitting: You put 'splits' in your code, allowing the browser to download just the code it needs to get started and download the rest when it's needed (great for apps with very large amounts of client code).
  • Declarative User Interfaces: Define UIs in XML. Much less boilerplate code. XML<->Java integration via annotations.
  • Layout Panels: Improved, standards-compliant, base panels.
  • Bundled Resources: Image bundling from previous resources has been generified to allow any type of resource to be "bundled", reducing the number of requests the browser makes and allowing your app to load more quickly.

GWT works especially well with a good IDE (Eclipse or IntelliJ) since the IDE can take advantage of compile-time information from GWT, validating, on the fly your client code (since it's Java) and also things like CSS class name references and references between XML UI definitions and backing code.

Alan Donnelly
I have heard good things about the GWT but haven't particularly liked the architecture myself. This guy puts it much better than I: http://www.markrushworth.com/designing-gwt-google-web-toolkit-word-dont/
predhme
+1  A: 

Appfuse - Not really a framework, but it might be worth a look if you're looking for something to ease the initial ramp up effort on a JEE project. It provides a bunch of Maven 2 archetypes that will create a "ready to run" application based on any of:

  • Struts 2
  • JSF
  • Tapestry 5
  • Spring MVC

Struts 2 is also very much worth a look. Totally different animal to Struts.

Alan Donnelly
Appfuse is nice for getting common maven projects setup more quickly. I did use them for a project once. As stated, not a framework but definitely worth noting.
predhme
A: 

I thought it was worth noting this as I just heard about the new release on java lobby. The lift framework. It is written in scala, which is java per say.

predhme