title: Clean way to inject a Spring 3 bean into a JSF 2 managed bean?
body: <p>I'm migrating our current solution from JSF 1.2 to JSF 2. As I need to use the new View scope I'm using JSF 2 annotations. That forced me to inject the Spring beans using the JSF @ManagedProperty annotation instead of Spring's @Autowired</p>
  
  <p>Before it was something like this:</p>
  
  <pre><code>@Autowired private OneService oneService
  </code></pre>
  
  <p>And now it's like:</p>
  
  <pre><code>@ManagedProperty(value="#{oneServiceImpl}")
  private OneService oneService
  </code></pre>
  
  <p>Do you know if is there a way to annotate the managed properties without needing to state their bean name?</p>
  
  <p>Thanks!</p>