Given this scenario where you have \"transfer objects\" (POJO\'s with just getters/setters) which are passed by a client library to your API, what is the best way to name th
Use a convention that is suitable among the other code conventions you are using. I personally use the suffix "TO" (e.g. the data transfer object associated to the Customer domain class is named CustomerTO). Also the package structure should convey the intent of each type of class (so.foo.domain.Customer and so.foo.transport.CustomerTO)