GWT Hot Deployment - Demo

Enables automatic reloading of the web application context in GWT's internal Jetty when compiled classes change

License

License

Categories

Categories

GWT (Google Web Toolkit) User Interface Web Frameworks
GroupId

GroupId

de.barop.gwt
ArtifactId

ArtifactId

gwt-hotdeployment-example
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

war
Description

Description

GWT Hot Deployment - Demo
Enables automatic reloading of the web application context in GWT's internal Jetty when compiled classes change

Download gwt-hotdeployment-example

How to add to project

<!-- https://jarcasting.com/artifacts/de.barop.gwt/gwt-hotdeployment-example/ -->
<dependency>
    <groupId>de.barop.gwt</groupId>
    <artifactId>gwt-hotdeployment-example</artifactId>
    <version>1.0</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/de.barop.gwt/gwt-hotdeployment-example/
implementation 'de.barop.gwt:gwt-hotdeployment-example:1.0'
// https://jarcasting.com/artifacts/de.barop.gwt/gwt-hotdeployment-example/
implementation ("de.barop.gwt:gwt-hotdeployment-example:1.0")
'de.barop.gwt:gwt-hotdeployment-example:war:1.0'
<dependency org="de.barop.gwt" name="gwt-hotdeployment-example" rev="1.0">
  <artifact name="gwt-hotdeployment-example" type="war" />
</dependency>
@Grapes(
@Grab(group='de.barop.gwt', module='gwt-hotdeployment-example', version='1.0')
)
libraryDependencies += "de.barop.gwt" % "gwt-hotdeployment-example" % "1.0"
[de.barop.gwt/gwt-hotdeployment-example "1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.google.gwt : gwt-user jar 2.5.1

provided (1)

Group / Artifact Type Version
de.barop.gwt : gwt-hotdeployment jar 1.0

Project Modules

There are no modules declared in this project.

gwt-hotdeployment

Build Status

Description

Are you working with server side code in GWT's Development Mode and it's internal Jetty? Bored of reloading/redeploying by hand when you did change something in server code? Annoyed when did forget to reload?

gwt-hotdeployment enables automatic reloading of the web application context when compiled classes change.

License

Copyright 2013 Johannes Barop

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Usage

  1. Add gwt-hotdeployment as dependency to your Maven project:

    <dependency>
      <groupId>de.barop.gwt</groupId>
      <artifactId>gwt-hotdeployment</artifactId>
      <version>1.0</version>
      <scope>provided</scope>
    </dependency>
    
  2. Set gwt-hotdeployment's customized Jetty as server launcher

    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>gwt-maven-plugin</artifactId>
      <configuration>
        <-- ... -->
        <server>de.barop.gwt.HotDeploymentJettyLauncher</server>
      </configuration>
    </plugin>
    
  3. Have fun

    Don't forget that server side code has to be compiled. You may want to set up your develop environment to do so automaticly.

Demo

The repository contains a demo application gwt-hotdeployment-demo with which you can play around.

Versions

Version
1.0