You do not need to put POJO RPC in the shared folder, but if you store them in the client folder, the server will depend on the client package, because Pojos are used by both the client and the server. This is definitely better if the client and server are strictly separated and that for the shared folder.
The shared folder includes me:
- RPC Requests / Answers - I am using the command template (gwt-dispatch)
- Data Transfer Objects (DTO) - Lightweight objects used for data transfer
- Input validators - the logic that is used when checking on the client side and on the server side
- General configuration
source share