Tuesday, November 3, 2009

Raible Designs | Running Hosted Mode in GWT Libraries (when using Maven)

Raible Designs | Running Hosted Mode in GWT Libraries (when using Maven)

Linking to Matt Raible's notes on the GWT Maven plugin setup. I have basically the same findings.

I've added the maven-war-plugin for building a war for deployment. I've also had some problems since I'm not on Snow Leopard yet and there are JDK 1.6 issues with GWT and JDK 1.6 on Leopard.

Monday, November 2, 2009

pgt » Use Spring with GWT dispatch

pgt » Use Spring with GWT dispatch

Working on converting my servlet implementation for gwt-dispatch from Guice to Spring.

Tuesday, October 27, 2009

Thoughts on GWT, MVP and GWT-EXT

Thoughts on GWT, MVP and GWT-EXT

Putting some GWT-related posts over on my blog that primarily speaks to Java-related topics.

Tuesday, October 6, 2009

test post

This is SQL:


SELECT *
FROM users
WHERE user_id = 1212;


This is Java:


package com.gwt.client.gin;

import net.customware.gwt.presenter.client.place.PlaceManager;

import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.gwt.client.mvp.AppPresenter;

@GinModules({ ListClientModule.class })
public interface ListGinjector extends Ginjector {

AppPresenter getAppPresenter();

PlaceManager getPlaceManager();

}

Friday, October 2, 2009

Error in the download link

The link for the countries.dmg file on this page should be: http://developer.apple.com/webapps/articles/countries.dmg

in reference to:

"So that you can play along at home and test out the code samples in this article, we’ve created a simple web application, based on Ruby on Rails, that implements a RESTful web service. The first step is to download the web application named countries (.DMG, 600 KB). It is based on a simple, database of public domain data containing four fields: A country index, country name, gross domestic product, and two-character country abbreviation.
Our application will perform operations on this database, based on RESTful requests received from a client. Understanding how to implement those requests from your Cocoa and Cocoa Touch applications is our ultimate goal.
When you download the countries web application (.DMG, 600 KB), it can live anywhere on your hard drive. Once it is downloaded, double-click the file REST Article Test Server.zip to create a folder called countries. We won’t need to do anything else to that folder.
Next up, let’s make sure we’ve got Ruby and Rails properly installed."
- ADC—Creating RESTful Web Service Clients in Cocoa and Cocoa Touch (view on Google Sidewiki)

Tuesday, September 29, 2009

trouble with annotations and gwt-maven-plugin

I'm working on my first project to combine maven with Google Web Toolkit. In an attempt to use google-gin and its annotation, I ran into some compile time problems because the gwt:compile was running before javac had not compiled the annotations into .class files.

I don't have an elegant workaround just yet but running the process as a two step compile with maven after a clean works:

mvn clean compile -Dgoogle.webtoolkit.compileSkip=true

followed by:

mvn gwt:compile

Friday, September 25, 2009

Hive Development Limited: Google Web Toolkit (GWT) MVP Example

Hive Development Limited: Google Web Toolkit (GWT) MVP Example

I haven't found a wealth of content on the MVP approach and especially not event bus but this blog does a great job with transforming the greeting starter code.