0

Does Jersey got any extensions to support frameworks like Shiro, Guice for example? Or do you use them seperately, independent from jersey?

How does it look for other JAX-RS frameworks. Restlet, RestEasy - do they provide any extensions or is it done seperately as well?

I already know that they got their own implementation of OAuth instead of cooperating with other OAuth framworks.

Robin Wieruch
  • 14,900
  • 10
  • 82
  • 107

2 Answers2

1

Regarding Restlet Framework, we offer an extensive set of extensions summarized here. It is however generally easy to do your own integration with other libraries. Regarding Guice, there is already an extension in the Restlet Incubator, see specifications here.

Jerome Louvel
  • 2,882
  • 18
  • 19
0

The dependency page of the Jersey docs specifies there are extensions for Guice:

Jersey's runtime dependences are categorized into the following:

Core server. The minimum set of dependences that Jersey requires for the server.

Core client. The minimum set of dependences that Jersey requires for the client.

Container. The set of container dependences. Each container provider has it's own set of dependences.

Entity. The set of entity dependencies. Each entity provider has it's own set of dependences.

Tools. The set of dependencies required for runtime tooling.

Spring. The set of dependencies required for Spring.

Guice. The set of dependencies required for Guice.

I have not tried integrating Jersey, Guice, and Shiro, but I don't see why you couldn't do it.

Ryan Nelson
  • 4,466
  • 5
  • 29
  • 45
  • OK. But my question is more like: do you need an jersey supportive package to integrate shiro, guice ... or is it done by shiro, guice itself. Same for Restlet, RESTEasy and other extensions besides Shiro and Guice. – Robin Wieruch Apr 17 '12 at 07:08