Wednesday, March 8, 2017

Re: GWT Eclipse Plugin - three development modes

 
Can eclipse do this or are there maven goals?

You could use a Maven Jetty plugin to deploy your server side code along with the static files provided by GWT Development Mode. I guess Eclipse can also do it using the Eclipse WTP tools.
 

What are the benefits of option 1?

Some apps don't need application servers because they don't have a server side component. 

If you need an application server it is often preferable to use the same tools/setup in development as you use in production. For example if you use Oracle WebLogic or Glassfish server in production you might want to use it in development as well to spot any strange behaviors quickly during development so you won't be surprised once you have deployed the app to production. 

Or your jetty / tomcat configuration is more complex then what you can achieve using the embedded jetty of GWT.

Or your server isn't a java server but instead  PHP / Ruby / Go / whatever.

Or maybe you use a web server as reverse proxy so you can deploy your app on any (already existing) remote server and let the reverse proxy delegate requests to that server.

Or maybe you use Docker in production and you can easily start a mini version of your production cluster on your own host using Docker. Using Docker also has the benefit that every developer has the exact same development setup.



-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment