GWT app - deploying on Tomcat or any other servlet container

前端 未结 2 851
攒了一身酷
攒了一身酷 2020-12-16 07:29

Is there a plugin for Eclipse GWT or any other method to automatically deploy and run GWT app on Tomcat (or any other Serlvet container)? For the moment the only method I kn

相关标签:
2条回答
  • 2020-12-16 07:54

    Is this what you are looking for: "How do I use my own server in hosted mode instead of GWT's built-in Jetty instance?"?
    PS: You only need to copy the contents of the war folder once.
    PPS: I'm assuming here you want to be able to easily deploy your app to Tomcat during development, since you are bringing up spawning Tomcat from Eclipse - meaning it's not a production server.

    0 讨论(0)
  • 2020-12-16 08:00

    You could write an Ant task to deploy and run your GWT app. It could copy the files and then tell your servlet container to reload the latest files.

    0 讨论(0)
提交回复
热议问题