Reputation: 14044
I been playing around a bit with GWT using the built in jetty server, purely in development mode, and I am now wondering if the framework will be fit for purpose for a project we are starting shortly.
We need to deploy on a tomcat server, and we need to be able to use a mysql connection pool on that tomcat server to populate the domain model of the GWT application. So we wont really be using the Jetty server built into jetty at all. So, here's the questions:
Is there any way of running the development mode up against Tomcat rather than the built in server? If no, what is the alternative? Debugging/run on a external server?
I've tried configuring the run on external server, but amending the arguments, so it doesnt use the built in jetty instance and it deploys to my tomcat webapps directory. But files from the /war folder seems to be missing. Can anybody explain or point me to a resource documenting this?
Have I overlooked something in GWT that will make it pain full to use a JNDI datasource as made available from tomcat?
would it actually be possible to use the tomcat JDNI
Upvotes: 1
Views: 892
Reputation: 11625
GWT places no limitation on what you can do on server, so unless there is a specific bug somewhere you should be able to use Tomcat JNDI.
As for running the GWT development mode against tomcat, yes it is possible. GWT Developer Guide covers this question. GWT eclipse plugin makes it even easier. You can just right-click on your project, select "Run As", and then select "Web Application (running on external server)".
Upvotes: 1