July 17th, 2009

Non invasive GWT and Spring integration (reloaded)

New project layout

New project layout

Here is my overdue update to my Non invasive GWT and Spring integration blog post from early 2008. Since then we have had the GWT 1.6 and GWT 1.7 releases:

One of the biggest changes to GWT 1.6 is a new project structure. The old output format has been replaced by the standard Java web app "expanded war" format, and the actual directory name does default to "/war". Note that the war directory is not only for compiler output; it is also intended to contain handwritten static resources that you want to be included in your webapp alongside GWT modules (that is, things you'd want to version control).

As a matter of fact, now we finally can (must) manage the web.xml file ourselves:

Projects with server-side code (GWT RPC) must configure a web.xml file at /war/WEB-INF/web.xml. This web.xml file must define and publish any servlets associated with the web application.

This is a little pain for really much gain, and that's why I am writing this post after all... Continue reading Non invasive GWT and Spring integration (reloaded)

July 9th, 2009

Compiler-Warnings. Mal hü, mal hott?

Ich habe in Eclipse 3.4.2 unter “Compiler” “Errors/ und Warnings” folgende Einstellungen:

Es geht mir um die Einstellung “Type parameter hides another type“.

Folgerichtig bekomme ich an diesem Codeschnipsel ein paar Warnungen:

Und so lautet die Warnung:

Was ja im Prinzip richtig ist, aber gewollt, schliesslich verwende ich ja “this.” in meiner [...]

May 9th, 2009

SpringSource Produktivitätsoffensive

SpringSource, Spring Roo, SpringSource Tool Suite [...]

April 24th, 2009

Java in den Wolken

Java in the Wolken. Oracle, IBM, Sun, Google, Amazon, Red Hat. [...]

February 26th, 2009

How to use the SimpleHttpInvokerServiceExporter

How to use the SimpleHttpInvokerServiceExporter (JRE 1.6 HttpServer and spring remoting) [...]