gwt rpc - GWT .client and .server -
I will ask if what is in the .client file and what is the .server file for GWT? I have followed some tutorials which are asking me to paste this code into .server and .client file, but what is unsure of these files? Apart from this, it contains an XML file and CSS file. Do anyone know how they interact with each other? Can anyone explain?
If this is the case, can we also control what happens in the cache in the client side and what request is sent to the server to retrieve the data?
Javascript will be compiled by the code GWT compiler in the client package, which will be run in the browser. The bulk of these files are usually cached by default, but you can configure your server if you want to cache it differently. I suggest asking a new question for it, though it has its own subject.
The server will run the code in the package as Java on your server, and the customer will respond to requests.
To learn more about customer / server communication, I suggest and, in general, the guide is very useful for answering the type of questions you are asking.
Comments
Post a Comment