--
You received this message because you are subscribed to the Google Groups "GWTP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-platform...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you for your answer.
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
BarterConnectResult connect(BarterConnectRequest connectData);
SaveImagesResult saveBarterImage(SaveBarterImagesRequest saveImagesRequest);
SaveBarterItemResult saveBarterItem(SaveBarterItemRequest saveItemRequest);
SaveVotesResult saveVotes(SaveVotesRequest saveVotesRequest);
GetImagesResult getBarterImages(GetImagesRequest getImagesRequest);
........
}
Is it bad pratice to do like this? I do not really mind using the gwtp rest dispatch functionnality but the problem that I have is the performance:
the way I used to do things involve in fact the creation of one serverlet only called "greet" which means that after making one RPC call everything is initiliase and I will only have one RPC call that is long to return.
whereas when I use the RPC dispatch there is more than only one...