I want to develop a GWT application, that uses RPC and Spring
+Hibernate on the
serverside within Eclipse. And during the development process run the
hosted client UI
and the Server in debug mode through Eclipse.
I've seen various examples that seem to show how to deploy it all to a
separate
Tomcat instance, which I've been able to do. But I can't seem to get
it all running as
hosted GWT application.
Is this possible at all? Mainly, should the GWT server used in hosted
mode be
completely able to run the server code including database
connectivity, at the
same time so I can properly debug the entire application.
If anyone has an example they are willing to share (.war or .jar)
that'd
be really appreciated.
Cheers,
Martijn
I'm encountering the same problem. I use Spring for managing database
transactions and I want a good way to use Spring in hosted mode for
debugging.
Did you come to any particular conclusions or find a good solution?
Thanks!
Jonathan
I believe what you're looking for is the -noserver option in hosted
mode. This allows you to use the hosted mode browser with your own web
server rather than GWT's embedded Tomcat server.
You can take a look at how you would go about using the -noserver
option in hosted mode to debug your application with your custom web
server at the link below:
http://code.google.com/support/bin/answer.py?answer=55200&topic=10454
Hope that helps,
-Sumit Chandel
http://gwt-widget.sourceforge.net/?q=node/39
On Jul 30, 2:44 am, "Sumit Chandel" <sumitchan...@google.com> wrote:
> Hi Martijn,
>
> I believe what you're looking for is the -noserver option in hosted
> mode. This allows you to use the hosted mode browser with your own web
> server rather than GWT's embedded Tomcat server.
>
> You can take a look at how you would go about using the -noserver
> option in hosted mode to debug your application with your custom web
> server at the link below:
>
> http://code.google.com/support/bin/answer.py?answer=55200&topic=10454
>
> Hope that helps,
> -Sumit Chandel
>
On Jul 30, 9:57 am, "j.casey.one...@gmail.com"
<j.casey.one...@gmail.com> wrote:
> If you want to usespringyou are going to need to use the GWT-Server
> library. They have written their own controller servlet which handles
> mapping the RemoteService urls and handing them off tospringbeans. I
> spent all weekend trying to get a project up and running with -
> noserver andspringand the GWT Server library was the only way I was
> able to getspringto work.
>
> http://gwt-widget.sourceforge.net/?q=node/39
>
> On Jul 30, 2:44 am, "Sumit Chandel" <sumitchan...@google.com> wrote:
>
> > Hi Martijn,
>
> > I believe what you're looking for is the -noserver option inhosted
> > mode. This allows you to use thehostedmode browser with your own web
> > server rather than GWT's embedded Tomcat server.
>
> > You can take a look at how you would go about using the -noserver
> > option inhostedmode to debug your application with your custom web
> > server at the link below:
>
> >http://code.google.com/support/bin/answer.py?answer=55200&topic=10454
>
> > Hope that helps,
> > -Sumit Chandel
>
> > On 7/24/07, eldaaran <eldaa...@gmail.com> wrote:
>
> > > Hi Martijn,
>
> > > I'm encountering the same problem. I useSpringfor managing database
> > > transactions and I want a good way to useSpringinhostedmode for
1) Run your regular server. Take note of the url.
2) Goto eclipse and configure your runtime config.
3) Add to your arguments "-noserver".
4) Change the previous url to the full url of the start up page on
your j2ee server.
5) Run