GWT support for Application Servers

207 views
Skip to first unread message

SergeZ

unread,
Jan 18, 2012, 3:48:09 PM1/18/12
to Google Web Toolkit
Hi everyone ! Is there any other application server, probably a
lightweight one, except Jetty, which allows developers to debug GWT
code in a hosted mode ?

In particular, is it possible to debug it on the WebSphere Application
Server and if it is, then, which are the necessary steps to adjust it
for GWT code debugging ( add gwt-dev.jar ? )

Really appreciate any responses!!!

Jens

unread,
Jan 18, 2012, 5:39:17 PM1/18/12
to google-we...@googlegroups.com
Sure! You can use whatever application server you like.

You just have to start your servlet container / application server of choice in debug mode and then connect to it for remote debugging your server side code using Eclipse (see http://www.mkyong.com/websphere/remote-debugging-with-eclipse-websphere-7/ ). This is totally independent of GWT.

You will continue to use GWT hosted mode the same way you do now for debugging client side code.

-- J.

Thomas Broyer

unread,
Jan 19, 2012, 11:10:58 AM1/19/12
to google-we...@googlegroups.com

SergeZ

unread,
Jan 19, 2012, 3:24:11 PM1/19/12
to Google Web Toolkit
Thanks a lot, it is my mistake I miss this passage of the official
documentation, but if I got the point right, the article says that,
yes, you cat debug client-side code as ussual, but I have to find a
tool to debug the server-side one.
So, fix me if I wrong, but one of the possible scenarious is - debug
client-side code from the IDE's debug session, and, for example, debug
server-side code in another debug session, probably, being connected
to the Application Server remotely ( remote debugging currentry
running web-app on the Application Server ).

Am I right ?

P.S.: the proble have just appeared, so my questions could look a
little bit strange, but that is becouse I haven't an experience in
substituing Jetty with another Application Server.

On 19 янв, 20:10, Thomas Broyer <t.bro...@gmail.com> wrote:
> Seehttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu...

Thomas Broyer

unread,
Jan 20, 2012, 4:20:44 AM1/20/12
to google-we...@googlegroups.com


On Thursday, January 19, 2012 9:24:11 PM UTC+1, SergeZ wrote:
Thanks a lot, it is my mistake I miss this passage of the official
documentation, but if I got the point right, the article says that,
yes, you cat debug client-side code as ussual, but I have to find a
tool to debug the server-side one.
So, fix me if I wrong, but one of the possible scenarious is - debug
client-side code from the IDE's debug session, and, for example, debug
server-side code in another debug session, probably, being connected
to the Application Server remotely ( remote debugging currentry
running web-app on the Application Server ).

Am I right ?

Yes, but you can debug both at the same time from within Eclipse.

This is how we're working for a year now, and I wouldn't go back to the embedded Jetty (which is really great, but more for small projects or AppEngine projects; for medium/big projects, I prefer running/debugging the server code in the same environment –or as similar as possible– as the production one)
Reply all
Reply to author
Forward
0 new messages