Skip to content

Conversation

@niloc132
Copy link
Member

No description provided.

The `-noserver` option instructs development mode to not start the embedded Jetty instance. In its place, you would run the J2EE container of your choice and simply use that
in place of the embedded Jetty instance.
GWT provides several ways to customize the development experience to suit your application's needs:
* The simplest and most flexible option is to use CodeServer instead of DevMode, allowing you to run your own application server, and only rely on GWT to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use backticks for all Java class names in this paragraph (CodeServer, DevMode, ServiceLoader)?

### Using EJBs in development mode<a id="using_EJBs_in_development_mode"></a>
GWT provides the `-noserver` option to the development mode shell script for this sort of thing.
### Customizing the development experience<a id="customizing_the_development_experience"></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new section and the removed section should be reflected in the TOC on top of this file.

* It is also possible to pass `-noserver` to DevMode, which still keeps the GUI of DevMode, but with no extra server started. The command line argument to
configure the path to write compiled JS is also `-war`.
* Finally, you can supply a custom server implementation to DevMode. The class must extend `ServletContainerLauncher`, and may be registered for a
ServiceLoader to pick it up with that same name. If it is the only service loaded instance, it will be used automatically - otherwise, it may be specified
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"with that same name" is a bit unclear (same as what?), maybe omit that since the next sentence explains it (?)

Is it worth mentioning that getName() must return a string only containing alphanumeric characters for selection by nameto work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants