naming - Creating a new package in Java to make Web Service requests, what should I call it? -


Newbie is a bit of a question, but I am unfamiliar with Java I am either thinking:

< Code> com.company.webservices

or

com.company.webserviceretriever

or

com.company.webservice.retriever

Any thoughts or opinion on this matter?

There is no such a rigid and fast rule but com.company.service Should have the interface and com.company.service.impl in which you apply the interface that internally consume web services in future if you want to do more with the implementation of the web service So it still makes sense and your service customer should not have any information about it.


Comments