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.

Wednesday, September 23, 2009

Google Sidewiki

Google Sidewiki

So Google has just launched seemingly the world's largest message board. I have to wonder at what point it will take over as the largest BigTable application at Google. Maybe cached web page copies is larger?

Friday, September 18, 2009

noop - Project Hosting on Google Code

noop - Project Hosting on Google Code

Nice. A language about nothing? Hope to find some time to try this out. I can't imagine programming in Java without dependency ingection anymore even though it isn't baked into the laguage.