use only simple types in desktop gwt callback