I have class in server side and I want use method of this class in client side. How can I do it?
Thanks!
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.
You have to look at the basics of how the communication of the client application works with the server.
All server side functionality has to be exposed as a service/RPC based functionality in GWT.
If you look at the tutorial at http://code.google.com/webtoolkit/doc/1.5/tutorial/RPC.html, you have to do the following.
For your requirement, you have to create another method (except the methods you already have created), so do the following:
Hope this would help.