users@grizzly.java.net

Re: Questions about Grizzly / Jersey(REST) / Security

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 18 May 2009 18:02:13 +0200

Hi Alex,

See the following example for how to configure Jersey with Grizzly
with SSL and client certs:

http://download.java.net/maven/2/com/sun/jersey/samples/https-clientserver-grizzly/1.1.0-ea/https-clientserver-grizzly-1.1.0-ea-project.zip

Paul.

On May 18, 2009, at 5:58 PM, Alex Sherwin wrote:

> Hi,
>
> I'm trying to gather information about switching a project to use
> Grizzly as a transport mechanism (via RESTful web services).
> Initial benchmarks of performance/scaling using a very simple test
> Grizzly server look very promising.
>
> I do have some questions though.
>
> 1. I would like the project to run outside of an app server and
> solely use Grizzly. With that in mind, I don't know where to begin
> looking to learn how to setup/configure grizzly to use
> authentication/authorization schemes and configure it to use TLS/SSL.
>
> 2. What are the possibilities of clustering/configuring fail-over
> for a project like this that does not run inside of an app server
> (using well established third party projects is acceptable, if
> required)
>
> 3. What is the best distribution of Grizzly to use for this? My
> simple test server is using grizzly-servlet-webserver, creating a
> SelectorThread and setting the required init param for Jersey to
> find my resource classes. I've noticed that there are quite a few
> grizzly distributions available in the downloads, and I don't see
> anywhere that specifically outlines what the particular uses/benefit
> of each one is
>
> Any help is greatly appreciated
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>