dev@glassfish.java.net

multiprotocol listener

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 12 Jul 2006 11:19:58 +0200

Hi,

i'm working on tcp transport for JAX-WS.
for now tcp listener is implemented as GF lifecycle module and http
listener is regular GF http listener, but i need to investingate
possibility of implementing one listener for both tcp&http transport
that will listen on single tcp port.

For now i see one possible solution is to extend GF lifecycle module to
preread first message bytes and if its tcp transport message - process
it locally, if http - *somehow* transfer to web container for futher
processing.

The question is...
1) Is it possible? :)
2) Probably there are other solutions?

Thanks.

WBR,
Alexey.