Yes, this is the way I'm going to have to do it. I've written other
parts of my application this way and think I can blunder my way
through it again (my first attempt was a while back, and at the time I
lucked into the right magic for two *.gwt.xml files--one with an entry
point for testing, one without for integration).
What I had hoped for, though, was a separate application so it could
be opened in a separate window. In my case, the user is retrieving
images from a database hitlist and I wanted the capability to open
multiple images--say up to 4--and tile them on the screen for
comparison. I can do this easily if the new window is a JSP call, but
I want a GWT app and I want it to run from the same webapp as it's
parent so it can share the servlet context (I read in Tomcat docs that
this can be shared across apps, but it's considered bad for security).
I like GWT very much, but I find the single browser window
constraining. If there is another way to do it, I need to see an
example. As for windowing within my application inside the browser
window, I've found current solutions too slow, too limited, and/or too
complicated to use.
On Oct 14, 4:14 pm, "Sumit Chandel" <
sumitchan...@google.com> wrote:
> Hi Thad,
> Is there any reason why you couldn't package up ProjectB and use it directly
> in code in ProjectA? That would make it so that your application would load
> up much faster as it would be a single monolithically compiled and optimized
> script and would also reduce the number of HTTP roundtrips required to load
> the application.
>
> What's more, you would be able to debug your application in hosted mode and
> trace through both your ProjectA and ProjectB code to more easily identify
> where the problem is occurring.
>
> As for the cause behind the problem you're facing in the current setup, I
> can't really say what's going wrong. What I would suggest is starting your
> Tomcat server in debug mode so that you can at least debug the server-side
> code to try and find out where the IndexOutOfBoundsException is occurring.
> Another thing I would suggest is checking the path from which your
> application resources are being served, most especially that the ProjectB
> application resources (.js files, etc...) are all being served from the same
> relative paths as they are when ProjectB is working in a standalone setup.
>
> Hope that helps,
> -Sumit Chandel
>
> >
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
> > ).