Hi there :) , as already explained, the GWT-Compiler converts the java code into java-script code. Everything you implemented in the XX.XX.client package will be transformed into java-script (by the gwt-compiler). Everything you implemented in the XX.XX.server package will work on the server (tomcat) without transformation into java-script. The easiest way to communicate with the server ist over the gwt-rpc protocol. There are many tutorials how to implement such a communication -> (imo) its really easy. But you dont need to use the gwt-rpc protocol. You can also use the servlet-technology. F.e. to upload data u have to use the servlet-technology, because the gwt-rpc protocol doesnt support data uploads. A big advantage of the gwt-rpc protocol is that you can exchange objects between client and server (without any transformation into json or any other format) -> GWT handle the exchange for you. You only have to implement the IsSerializable-Interface (The class have to lie in the XX.XX.client.XX..... package).
Try it out, GWT is a nice Framework and easy to understand (if you realized the difference between client/server code). Greetings Daniel -- 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.
