title: Restlet implementation with Guice
body: <p>Java development took a huge step forward with the introduction of <a href="https://github.com/google/guice/wiki/Motivation" rel="nofollow">Guice</a>. My projects heavily depend on <a href="http://www.wideplay.com/guicewebextensions2" rel="nofollow">Warp-persist</a> and its successor <a href="https://github.com/google/guice/wiki/GuicePersist" rel="nofollow">GuicePersist</a> for persistency.</p>
  
  <p>But there seems to be a mismatch between the use of Guice and Restlet.
  It looks like its only possible to <code>@Inject</code> session and persistence factories from the servlet level.
  For transaction handling i need Guice to create Restlet <code>ServerResources</code> which enable me to <code>@Inject</code> persistence stuff like <a href="https://github.com/google/guice/wiki/Transactions" rel="nofollow">@Transactional</a> or <a href="https://github.com/google/guice/wiki/Transactions" rel="nofollow">UnitOfWork</a>.</p>
  
  <ul>
  <li><p>Is there any change for Guice on the roadmap of Restlet? </p></li>
  <li><p>Are there best practices for the use of Guice with Restlet?</p></li>
  </ul>
  
  <p>Regards,</p>
  
  <p>Roland Beuker</p>