title: How to inject spring beans from external war?
body: <p>I'd like to create a decoupled frontend (<code>vaadin</code>) and backend (<code>spring</code>). Both should run on the same <code>tomcat</code> application server, but each is a single <code>war</code> so I can redeploy the frontend without having to restart the backend.</p>
  
  <p>I want to minimize the remoting code between both applications to exchange data. Therefore I thought I could maybe inject the service beans from backend into the frontend <code>war</code>. But it that possible? How would I share the service declaration between both war files / java projects?</p>
  
  <p>And what type of remoting would be apropriate here? Ideally I could imagine to have a mechanism where I could just "use" the backend service classes also in frontend, and spring clues the proxies together. But how?</p>