Hi

I'm writing application composed from few loosely coupled components (dependency
injection pattern, all compoments written by my team). First of them listens
for connections, spawns new thread (serversocket.accept) receives data
in proprietary format and then sends data to next component, next
component transforms data (optimizes, creates some packages), and next
component sends data further (probably using WebServices or WebDAV).
Additionally I need to track/monitor whole application/process by
external application placed on user computer (connected thru WebServices)
I want to put this whole application on Tomcat.

It would perfect if tomcat can accept connection
(serversocket.accept), spawn new thread (my my code) and pass socket
(input/output streams) to it.
then my components can handle whole business logic (maybe with Spring help).

 How to enable Tomcat to receive propertiary TCP stream (i have
external library for this),
GenericServlet is for http data and I need something for non-http
streams. I've searched for solution and found
http://www.mail-archive.com/users@tomcat.apache.org/msg12810.html
http://marc.info/?l=tomcat-user&m=122193433217430&w=2
http://marc.info/?l=tomcat-user&m=119569480213083&w=2
http://marc.info/?l=tomcat-user&m=117289842121590&w=2
Is this a good place to start? Should I write my own ProtocolHandler
or my own Connector ?
Where should I begin ?

Best regards,
razor

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to