RPC Api works for gwt and swing clients