> Can I just design it as a regular java app, that does not need
> to run in a browser when I’m developing the app?

If by "regular java app" you mean a Swing application, then no, you
can't. the Google *Web* Toolkit is for building web application. GWT
has its own set of widgets that you use instead of Swing components.

> I got the plug in for eclipse and got a
> program to run ok, but every time I run or debug it, it starts up
> Google's local web server and runs the application in Google's
> broawer from the local web server.  Is this the way its suppose to
> be?

The server is a specially rigged instance of Jetty for debugging your
application as Java code instead of JS. The browser is actually a
normal browser embedded in a Java app, although which browser depends
on your OS. This development/debugging setup is called "hosted mode."

> Also after I run the program I must close down Googles server or
> I get a socket error.

Because the port is already in use. When you hit run again, you're
trying to start a new server on the same port. That causes an error.
All you really need to do is...

> The edit debug process seems to be a little
> slow.

... just hit refresh. That'll pick up the changes you made in the
client and display the new version of your app. No need to close the
browser window or the server, most of the time.

Hope some of that helps. Let us know if you have more questions.

- Isaac

On Fri, Jul 10, 2009 at 10:13 AM, tedpottel<[email protected]> wrote:
>
> New GWT user
>
> Hi I’m starting to use GWT and got it to work, but confused about some
> issues
> 1.      I thought that you would first run a java app program and then
> compile it to java script.  I got the plug in for eclipse and got a
> program to run ok, but every time I run or debug it, it starts up
> Google's local web server and runs the application in Google's
> broawer from the local web server.  Is this the way its suppose to
> be?  Also after I run the program I must close down Googles server or
> I get a socket error.  The edit debug process seems to be a little
> slow.  Can I just design it as a regular java app, that does not need
> to run in a browser when I’m developing the app?
> - Ted
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to