gwt Server side communication with RestyGwt Tweaking default config

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

Default config is configured in import org.fusesource.restygwt.client.Defaults;

  1. Service root. By default, RestyGWT will use module name to get rest service root, to change it, call on module load:

    Defaults.setServiceRoot("/rest/");
    
  2. Date format. By default, RestyGWT will send unix timestamp as long for java.util.Date. If you don't want to do date processing on client side and just send a string, use

    Defaults.setDateFormat("yyyy-MM-dd'T'HH:mm");
    


Got any gwt Question?