[Resteasy-users] Why no client.close()?

2014-05-27 Thread Guy Rouillier
The RESTEasy documentation specifically says (section 48.3): "Finally, if your javax.ws.rs.client.Client class has created the engine automatically for you, you should call Client.close() and this will clean up any socket connections." Yet the overwhelming majority of examples I can find, inclu

Re: [Resteasy-users] Injecting an EJB in a Resteasy Resource authenticated with OAuth 2.0

2014-05-27 Thread JOSÉ INÁCIO DA SILVA JÚNIOR
Thank you for your answer? What's the better solution? In my architeture each application is on a specific jboss profile. Each application has several rest services inside it. I need a SSO solution including browser authetication and rest access in another application. The transactional control

Re: [Resteasy-users] RESTEasy Client in OSGi Environment

2014-05-27 Thread Eric Wittmann
I think I can confirm that this is the problem. We ran into this same issue when using the RE client in Fuse (also an OSGi environment). It is not possible to export META-INF/* resources in an OSGi bundle. This makes java ServiceLoader useless as a dynamic service discovery mechanism. As a