I was trying to do a generic GWT RPC call with the service and async service interfaces on client side and a server side implementation with helper methods that add minutes and hours to a given date object. (GWT API)
The server methods use java.util.Calendar in order to transform the changes and return a Date object. The reason for that is that the java.util.Calendar is not available on client side, though it's very useful and handy to work with date calculations.
But the RPC call didn't succeed, do I need to include the gwt-servlet.jar again? Or is there another way in SmartGWTEE to do an RPC call?
Third question would be, is there a calendar class on client side that has the same functionality as java.util.Calendar?
I tried Joda Time today but the compilation did not succeed, telling me the source for the DateTime class is missing ...
Can you give me a suggestion for this?
Thank you very much.
The server methods use java.util.Calendar in order to transform the changes and return a Date object. The reason for that is that the java.util.Calendar is not available on client side, though it's very useful and handy to work with date calculations.
But the RPC call didn't succeed, do I need to include the gwt-servlet.jar again? Or is there another way in SmartGWTEE to do an RPC call?
Third question would be, is there a calendar class on client side that has the same functionality as java.util.Calendar?
I tried Joda Time today but the compilation did not succeed, telling me the source for the DateTime class is missing ...
Can you give me a suggestion for this?
Thank you very much.
Comment