i create a sample project with GWT. in my project there are some classes and packages. my question is that what class or package finally convert to java script? server? client? or both? and what is server roll in project?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What java source code gets compiled into javascript is specified in your module definition gwt.xml file.
In the above module definition gwt.xml file, only the following are compiled into javascript
They do not have to involve “client”, “server” or “shared”, which are simply suggested names of folders to be used.
Whatever else folders not specified in the module gwt.xml file will be only used as server-side.
All the sources/resouces/classes specified inside the gwt.xml file will also be available fo server-side use.