Maybe I am confused on how to name / partition my web services.
I initially thought I could write a POJO for each service type, where I have a service per domain object (Dog, Cat) and that POJO will have CRUD methods on it. So I created a package called foo.services, and added a Dog class with an add method. I generated a JAX-WS service and I see the servlet was mapped in web.xml and also I see Add.java and AddResult.java added to .apt_generated under the services package.
The problem is, now, what happens if I want to add the same CRUD methods to the Cat POJO inside the foo.services package, I assume there will be a conflict?
Should I create a separate package for each service? Is this correct? This seems counterintuitive, as I am used to Spring services with many POJO classes inside one package, etc.