Salut,
César Fernando Henriques wrote:
> Hi,
>
> I need to bind my GWS to one or more ports to support secure and unsecure access
>
> I'm looking at the code of GWS and I don't know if I can reuse the
> current adapterChain instance on more than one SelectorThread
> instance.
Yes you can.
>
> Do I need to create a new adapterChain and adapters for every new
> SelectorThread?
>
> I think is very common to bind a web server to ej: port 80 and port
> 443 to support SSL. Don't you think?
Yes. But what you can do to better manage those is two create two
instance of GWS, once secure and one non secure. You can share your
Adapter amongs them (this is what we are doing in Jersey and GlassFish).
>
> Maybe this should be added to GWS in futures versions.
I think what you want is a meta class than manage GWS instance. I like
the idea. Just file an RFE here:
https://grizzly.dev.java.net/issues/
once you have a chance.
Thanks for all the feedback!!
--Jeanfrancois
>
> Thanks!
>
> Cesar.-
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>