title: Require help on Java EE infrastructure choosing the right "mix"
body: <p>I am a bit lost nowadays with all the available libraries out there. What I'd like to have is a small app server (best: jboss as7 as it is very lightweight and based on osgi) and have a lightweight, yet efficient soa-like infrastructure. I was looking on apache service mix though it looks quite complicated/complex. What I basically want to have is this:</p>
  
  <ul>
  <li>Easy definition of stateless services (easy as in a simple java pojo class)</li>
  <li>Modularization with automatic service discovery using osgi</li>
  <li>Services can automatically represent themselves as either WebService OR (!!) JSON-Format like REST Service</li>
  <li>Integrated, easy to handle authentication using OpenId to secure any service endpoint including handling all validation/verification processes</li>
  </ul>
  
  <p>I couldn't easily figure which of all frameworks would really fit in, for example, in Apache Service Mix I can't seem to find support to represent services as JSON-like RESET services nor could I find any integration of security?</p>