I have a java class which contains three integers A, B and C. I use this class on both, a client and a server application. But I never access A on the server side. Would Java even allocate memory for A when I create an object of that class on the server?
Please notice, that it´s not a transfer object. I just use the class in both applications to avoid duplicate code.