Netty on AS

이희승 (Trustin Lee) trustin at gmail.com
Tue Aug 25 03:40:53 EDT 2009


Hi Bozo,

I think it depends on what application server you use and what security
manager it employs.  With JBossAS, which is backed by Microcontainer,
it's a piece of cake.  Other application servers, I don't know much
about it actually.

Sorry if this didn't help much,
Trustin

On Tue, 18 Aug 2009 14:27:21 +0900 (KST)
Bozo Juretic <bjuretic at inet.hr> wrote:

> Hello,
> 
> is it possible to run netty on an application server (using only
> client socket factories), and if so can someone please provide the
> right invocation line for threads. Will this work on AS:
> 
> ClientSocketChannelFactory cf = new NioClientSocketChannelFactory(
>                 Executors.newCachedThreadPool(),
>                 Executors.newCachedThreadPool());
> 
> Also, since netty (in my case) needs to be running all the time
> (maintaining connection with servers, sending heartbeats etc.), what
> do you propose, where to put this kind of functionality in the AS? I
> would like to avoid writing JCA adapter.
> 
> Best regards,
> 
> Bozo
> 
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users



More information about the netty-users mailing list