Skip to content

niloc132/gwt-devmode-server-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prototype Jetty 12.1 + EE11 for GWT Dev Mode

This project produces a simple jar that can be added to a GWT project's classpath when running DevMode to run Jetty 12 instead of Jetty 9. This is largely a proof of concept to correctly isolate classpaths between the compiler and the running application server, and is incomplete in places.

The project is structured in two pieces - a "bootstrap" to actually start the Jetty server, and a "launcher" which contains the bootstrap and its full classpath, running it in a separate classloader when GWT requests it.

The launcher is registered via service loader, so GWT 2.13 can pick it up automatically when present, as long as there is only one such launcher provided.

To build, run:

mvn package

The resulting jar in launcher/target can then be added to your GWT project's classpath

java -cp gwt-dev.jar:launcher/target/launcher-1.0-SNAPSHOT.jar com.google.gwt.dev.DevMode ...

At this time, this project has only had the most cursory testing, and is intended to demonstrate the concept or serve as a simple way to expand on the idea. Other modules should be added for other EE versions as needed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages