Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A version of the gwt "contacts" example from google

Fetching latest commit…

Cannot retrieve the latest commit at this time

This is the gwt "contacts" tutorial application from google. The following
enhancements have been made;

* Upgrade to use the JDK logging emulation layer
* Integrate "GWT RPC XSRF protection" to avoid Cross-Site Request Forgery
* Use Google Gin as the client-side dependency injection framework
* Converted to use the Activities & Places Framework for managing bookmarking
  inside the application, and to enable easy code splitting.
* Split into multiple code modules (server, client and shared) to help in
  modularizing the code base.
* Integration of checkstyle rules to help enforce good styles.
* Conversion of the server-side to use EJBs for the service layer and JPA for
  the persistence layer.
* Convert to using Domgen to generate service/event/entity boilerplate.
* Conversion to using a maven-style source code layout and the Buildr tool to
  automate the builds.
* Integration with the Intellij IDEA IDE added.

Getting Started

* Download a version of ruby. The build has been tested with JRuby 1.6.0.

* Install the buildr 1.4.6 gem. e.g. "jruby -S gem install -v 1.4.6 buildr"

* Download dependencies and source for dependencies. Note: It is important
  to download source as the GWT compiler actually uses the source from
  dependencies to generate javascript. e.g. "buildr artifacts artifacts:sources"

* Install the GWT and GlassFish Integration plugins into IDEA

* Generate IDEA project files. e.g. "buildr idea"

* Download and install GlassFish 3.1.1 or later.
  - Create a LoginRealm named "FireRealm".
    - In DSE I tend to use an LDAP realm against ActiveDirectory.
      Also see IRIS Getting Started Guide.
    - Elsewhere I use the default file realm and add a user.
    - NOTE: You should go into Common Tasks/Configurations/server-config/Security
      and change the parameter "Default Principal To Role Mapping" to true and
      restart the server.
  - Install the Hibernate plugin

* Setup GlassFish configuration in IDEA and make sure it deploys the contacts
  artifact when it starts up.

* Learn and perform magic.

Something went wrong with that request. Please try again.