title: Spring RESTful + hibernate multimodule project
body: <p>I need to create an application consisting of several modules:</p>
  
  <ul>
  <li>authorization (authorization module)</li>
  <li>main (main module) </li>
  <li>directories(module directories) </li>
  <li>logging module (logging)</li>
  </ul>
  
  <p>In the future there may be other modules. Each module is a standalone <strong>Restful Spring + hibernate</strong> application (war file).</p>
  
  <p>Modules should interact with each other. That is, for example, the main module uses the reference from the module directories.</p>
  
  <p>The question is, what is the practice of interaction between such autonomous modules? </p>