Skip to content

joffotron/gwt-contacts

 
 

Repository files navigation

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.
* 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.
      See http://www.webdavsystem.com/javaserver/doc/authentication/ldap_glassfish
      Also see IRIS Getting Started Guide.
    - NOTE: If you want to re-enable roles 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.


About

A version of the gwt "contacts" example from google

Resources

Stars

Watchers

Forks

Packages

No packages published