title: how to define package structure for a Spring REST MVC application?
body: <p>I am new to writing a spring rest based ws. I created a project with the following structure.</p>
  
  <pre><code>Java Resources
    - src/test/java
    - src/main/java
       - com/sample/rest
         - controller  (for the request mappings)
         - domain (for POJOs)
         - service (for business logic)
         - utility (for utility methods)
         - dao (for database calls)
  </code></pre>
  
  <p>I started adding POJOs in the domain package, but my problem is that I have 2 kinds of POJOs in my application.
  One type which corresponds to my application table structure.
  Another type which corresponds to a third party result structure.</p>
  
  <p>I am not sure how I can differentiate these 2 POJO types under my domain package.</p>