I’m still unsure on what to put into the shared folder. If I’m doing RPC requests, and sending Pojos from the client to the server and vice versa, do I have to put them into the shared folder (because they are used by both – client and server).
EDIT
Maybe I’ve used the wrong term but when I said Pojo I actually meant DTO.
You don’t have to put the RPC POJOs in a
sharedfolder but if you keep them in theclientfolder, the server would be dependent on the client package because the Pojos are used both by the client and the server. It’s definitely better to have client and server strictly separated, and that’s what thesharedfolder is for.The stuff I would put into the
sharedfolder is: