Guys,
I wish to implement a TCP/IP based Server inside Jboss which
would accept and listen to requests from external clients. To start off, is
this possible?; can I open TCP sockets inside Jboss server and establish
connections to external clients? The server would basically involve using some
kind of a threading mechanism so that it can stay alive and listen for messages
from the external clients.
I know this cannot be done via EJBs as they have a
restricted lifecycle and the contained does not allow user threads (is this
right?). Is there any other way to achieve this?. Can I have a simpel Java
class inside the Jboss server acting as the TCP server?
Any help is much appreciated. Also is there any low level
documentation that discusses protocols and various ways of establishing
connections to the Jboss server
Regards
Dushy
______________________________________________________________________
DUSHYANT SHRIVASTAVA
Software Engineer
YAMBAY
tel +61 (0) 8 9323 6999
mob +61 (0) 402 902 652
fax +61 (0) 8 9325 2688
web www.yambay.com
Yambay Technologies Pty Ltd
7th Floor, The Victoria,
14-16 Victoria Ave, Perth. WA, 6000, Australia
_________________________________________________________________________________________________
This message and any files transmitted with it are confidential and are
intended solely for the use of those persons to
whom the message is addressed. If you have received this message in error,
please destroy and delete this
message from your computer. Any unauthorised form of reproduction of this
message or any files transmitted with
it is strictly prohibited. yambay does not make any warranty concerning the
security of any information electronically
transmitted and disclaims all liability for the proper and complete
transmission of any information contained or purportedly
contained in this message, nor for any delay in its receipt. If you receive
this message in error please notify the sender.
_________________________________________________________________________________________________