Thanks Keith. The 2-project solution doesn't sound too promising.
We're partitioning the original big application along business rather
than technical lines, so we'd be looking at gwt and j2ee projects for
each business area. In the long run, we'd expect to drain everything
out of the j2ee projects, but the long run could be a couple of years
-- some areas will be converted lazily (i.e. we may not convert until
we have to modify or until we have a lot of time on our hands, which
is never).
I'll try to reply with a more complete explanation of our current
structure next week.
On Aug 13, 12:11 pm, Keith Platfoot <
kplatf...@google.com> wrote:
> Hi Hank,
> It should be possible to use GWT and the Eclipse plugin with a J2EE project.
> You said if you create the project as a dynamic web project, some GWT
> modules fail. By "GWT modules", do you mean GWT functionality within the
> plugin, or "modules" as defined by
> GWT<
http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects....>?
> The Eclipse plugin does support enabling GWT for an existing project, as
> long as your project has a 'war' directory. I'm not sure about going in the
> other direction, though: creating the project as a Web Application project
> and then enabling J2EE features on it (such as associating it with a Tomcat
> server). Could you elaborate a bit on what sort of failures you're seeing?
>
> Depending on your setup, the integration might be easier if you are willing
> to use 2 projects, one with your GWT code and one with your JSPs and server
> code. GWT supports debugging against a separate backend, so it should
> be able to run/debug GWT code alongside your JSPs hosted by Tomcat.
>
> You'll need to do is start the Tomcat server first (debug or run mode should
> be fine). Then in your Google Web Application launch config, uncheck the
> box on the Main tab labelled 'Run built-in server' and change the URL in the
> GWT tab to the address of your Tomcat server. When you start the Web
> Application launch configuration, the GWT hosted mode shell will hit your
> Tomcat server, but still provide full debugging functionality for your GWT
> code.
>
> If you can let me know more about your application setup and more details
> about the problems you're running into, we'll see if we can get something
> figured out. Thanks,
>
> Keith
>