JCA socket
Wade Poziombka
wpoziombka at hotmail.com
Thu Jul 30 13:40:27 EDT 2009
I'd write an ExecutorService that wraps the JCA WorkManager, then you can
use the Executor for the threads required by Netty.
-----Original Message-----
From: netty-users-bounces at lists.jboss.org
[mailto:netty-users-bounces at lists.jboss.org] On Behalf Of maryjane
Sent: Thursday, July 30, 2009 3:09 AM
To: netty-users at lists.jboss.org
Subject: JCA socket
Hello Everyone,
I'm pretty new to netty, and I'm having a little trouble implementing a
solution that I believe netty can handle.
I had a problem where a socket client needed to connect to a JEE server.
I've done this before with a simple listener and starting threads in the
server but I wanted to follow a standards oriented approach for a new
development.
What I have to do is an application in which a client will send messages to
a server over a single non blocking socket connection via TCP/IP.
The message is a custom protocol message with a fixed length.
The entire application should be deployed on an application server,
preferably Jboss, but
J2EE forbids components from explicit thread management. The application
server should manage threads exclusively.
So, I thought to use a JCA resource adapter that accepts simple TCP/IP
socket connections from clients.
Is there a way to integrate a connector with netty into jboss for example or
is there a better way to solve this scenario?
Any help/suggestions would be greatly appreciated!
Thank you
--
View this message in context:
http://n2.nabble.com/JCA-socket-tp3354905p3354905.html
Sent from the Netty User Group mailing list archive at Nabble.com.
_______________________________________________
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