Robin Wieruch
Robin Wieruch

Reputation: 15908

Jersey and other JAX-RS api extensions - e.g. Shiro, Guice

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.

Upvotes: 0

Views: 654

Answers (2)

Jerome Louvel
Jerome Louvel

Reputation: 2892

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.

Upvotes: 1

Ryan Nelson
Ryan Nelson

Reputation: 4676

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.

Upvotes: 0

Related Questions