tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prabhu Baskaran <>
Subject Tomcat server to host socket server as well as webclient.
Date Fri, 10 Feb 2006 06:42:52 GMT
Hi All,
 I wanted to run Socket server program which wud act as a connection to
another client application which wud provide data from the database...(sort
of like a client to the socket).. and i wud have a web front end.. So i wud
host the servlets/jsps in the webserver tomcat..
I wanted these to be run in the same jvm.. What are things i need to do to
get this done..
I also wanted to know if i manage to do this above setup.. how will the
servlets speak with the socket in telling something like what category of
client to access etc..,

in simple terms the web front end can keep giving options and the servlets
basically communicates with the already running sockets and make it update
the clients connected to it.. (sort of like send messages to the
client..when ever web fronted makes modification)..Note the Socket wud be
always doing things in parallel.. It does not wait for the web client to
invoke.. and sort of like a night batch but once it wud be initiated with
front end..

If u need any clarification please let me know.. But if any one can suggest
ways for me to achieve this i wud appreciate it..Thanks in advance.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message