Hi all,

I am new to GWT and have just completed the tutorial with the
Stockwatcher application plus the tutorial about GWT RPC.

I would like to add a GWT user interface to an existing Java
application which is currently not a servlet, just an application with
a simple main method. This main method calls three different classes
that use a large range of other classes to process data of various
forms. In other words, I have a large pre-existing package structure
but only a few classes that would need to interface with the GWT
client.

Based on what I know I assume that I would have an additional gui
package with a client and a server sub-package.

com.myapp.gui
com.myapp.gui.client
com.myapp.gui.server

The client sub-package would contain my GUI code for the browser
(similar to Stockwatcher.java), the Service interface, the Service
Async interface. The server package would have the service
implementations for the methods I want to call through the client GWT
interface. These methods would call relevant classes which I have
located elsewhere in my package structure. They would only return
simple types such as Strings or String arrays. I would place my html,
css in the war folder, the myapp.gwt.xml in the com.myapp.gui folder
and everything should be fine.

Based on my limited and high level overview, do you see any major
problem I might be having with this. Overall, I aim to accomplish an
easy and intrusive way to move an existing Java application to the
web. I am hoping my existing server code should not need to
restructure around GWT.

I would also be more than grateful if anybody would know of a tutorial
where an existing Java Exclipse project is GWT'ed. Are there any
software packages that can help doing this step?

Thank you all in advance,
Karl

--~--~---------~--~----~------------~-------~--~----~
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