Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installation Guide

Eclipse Configuration

Perhaps the greatest advantage of using GWT is having the capability to leverage advanced software engineering and use established Java integrated development environment (IDE). We suggest to use Eclipse IDE since it works very well and has support with GWT to help integration.

OpenSyllabus Code Structure

...

  • Use case A - client update only
    • Hosted Mode

During most of your development, your GWT code runs in "Hosted Mode" that lets you debug like a normal Java application (edit, run, and debug cycle) inside your Eclipse IDE.

In "Hosted Mode", a JVM executes the GWT code as Java bytecode inside a special embedded browser window (before your Java code having been translated into JavaScript).

Image Added

Tip
titleTo launch a hosted mode session with OpenSyllabus from Eclipse

Your startup file is OsylEditorEntryPoint-shell.cmd (select it, right-click on it + Open With + Default Editor). It should launch a program from the console.

...

    • Deployment in Web Mode

When you have made a client code update only. In this use case, you have to invoke the javascript JavaScript compilation then move the compiled javascript JavaScript to the backend code. Also if your backend code is already deployed in Tomcat, just replace the javascript JavaScript code by the new one.

  • Use case B - backend update only

...

The full compilation process is necessary when for example you change the interfaces of the RemoteProcedureCallRemote Procedure Call (RPC).

Note

To save time, use hosted mode as much as possible for client code developments, because,it is faster than a GWT compilation.

...