Friday, November 6, 2009

Spring with gwt-dispatch

pgt » Use Spring with GWT dispatch

So inspired by this post and the discussion over in the gwt-dispatch group I have converted my application over from Guice to Spring. The only variance from the pgt blog post is that I am using net.customware.gwt.dispatch.server.spring.SpringStandardDispatchServlet in my web.xml. Other than that my action handlers are getting called as expected.

Wednesday, November 4, 2009

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)