I am trying to get started with super dev mode. I have super dev mode running, and have a web server serving up my main html page, where I am able to do 'Dev mode on' and recompile the module. Now I am trying to get this page to access my RequestFactory and RPC servlets. I started up regular dev mode and have the servlets available at localhost:8888/gwtRequest. So now I have three servers running:
http://localhost:9876/ - GWT Code Server
http://localhost:8080/ - Mongoose web server serving /war directory
http://localhost:8888/ - GWT Dev Mode running servlets
How do I point my app to the correct servlet container? And are all those servers necessary? I get a 404 right now because it is looking at http://localhost:8080/gwtRequest
.
Here's a snippet of web.xml:
<servlet>
<servlet-name>requestFactoryServlet</servlet-name>
<servlet-class>com.example.server.util.ExampleRequestFactoryServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>requestFactoryServlet</servlet-name>
<url-pattern>/gwtRequest</url-pattern>
</servlet-mapping>
Past that, are there any ways I can make this less convoluted? Maybe some new feature takes care of some of these headaches? I'm hoping to setup other developers with the environment once I know how! And hopefully not make it too much more difficult to push to production (i.e. hopefully minimal configuration/code changes).
Thank you!