title: Spring and SOA application
body: <p>I'm new to WEB SOA applications and i have several questions about how to implements this architecture.</p>
  
  <p>I would like to make a SOA based application involving multiple services using spring restfull api.
  I'm aware of how to build each service itself.</p>
  
  <p>i've already made a maven based project exposing a restful service using spring boot and secured it using spring security... my problem is to implement several services: </p>
  
  <ol>
  <li><p>I don't know if i have to make a project for each one or there's a better solution... i want them to communicate through XML/Json so they won't be in same project in my point of view. </p></li>
  <li><p>All secured by same service which makes use of spring security, i don't know how to link between the security service and the other ones. i don't want to write same security config classes on each project and then the user would be asked for sign in each time he accesses one of the services.</p></li>
  <li><p>Share some resources which are used by all most services such as domain model classes, since i don't want to copy paste them (make duplicates), if i would change anything i would have to make changes in all services ... horrible :/</p></li>
  </ol>
  
  <p>Thanks in advance.</p>