GWT

De Lillois Fractale Wiki
Aller à la navigation Aller à la recherche

GWT (google web toolkit) is the preferred development platform of pge.

It is used in combination with Eclipse and/or Netbeans.

Various projects are accessible from here.

Project

DVP (MMM)

Prod (MMU)

Assothink.active Assothink.mmm/ Assothink.mmu/
Assothink.passive Assothink.mmm/ Assothink.mmu/
Polyhedron gwtPolyhedron.mmm gwtPolyhedron.mmu
TCOauto gwtTCOauto.mmm gwtTCOauto.mmu
GameOfLife gwtGameOfLife.mmm gwtGameOfLife.mmu


The DVP versions are accessible : only from the fractal network ;  when eclipse and its jetty server run on MMM.

The Prod versions are accessible when tomcat runs on MMU.

All are accessible with various browsers, but Google Chrome is the most efficient.

Potential other GWT projects

. tennis money ($ value of a point played in a tennis match - tennis prob)

. the world and me (managing private and public data, with progressive revealing - meeting perspective - admin perspective)

. grafical animation language (with interactive edition - janimava)

Creating a new mscp GWT project

It is assumed that all projects use the animation logic defined in class anim (gwtLibClient)

Use eclipse (not netbeans)

Here are the key steps

  • create a standard GWT web app (project name should start with gwt, project directory should be in /home/pge/JavaNB4projcets)
  • add PG-developed library : open project properties / Java Build Path / Source, click "Link Source", and link /home/pge/javaNB4projects/gwtLibClient/src under the name srclib)
  • replace main class (in mscp.gwtXXX.client) with an extend of anim class
  • modify the xml file located in the project in src/mscp.gwtXXX/GwtXXX.gwt.xml . This file should contain more inherits blcks referencing mscp.gwtAnim and mscp.gwtUtil

Note that some modif listed above require to fully restart the project...