JCA socket

Wade Poziombka wpoziombka at hotmail.com
Thu Jul 30 13:58:08 EDT 2009


Let me expand a bit:

Your instincts are good JCA resource adaptor is a decent way to go if you
want to be portable and live by the J2EE rules.

The application server initializes JCA resource adaptors with a
BootstrapContext.  This contains a WorkManager which allows the adaptor to
do work using a thread provided by the application server.  Has methods like
startWork scheduleWork etc.

You can put an ExecutorService façade on top of this and provide it to Netty
NioServerSocketChannelFactory so that netty is actually using threads
created by the application server.

I wrote an article many moons ago with some basics.

http://www.theserverside.com/tt/articles/article.tss?l=J2EE1_4


-- 
View this message in context: http://n2.nabble.com/JCA-socket-tp3354905p3357922.html
Sent from the Netty User Group mailing list archive at Nabble.com.



More information about the netty-users mailing list