Howdy, The Servlet API is primarily a pull API: stuff is done when a client requests it, via one of the HTTP methods. But there do exist alternatives, including non-HTTP servlets, and "push" servlets. For a resource on this topic, check out http://www.unix.org.ua/orelly/java-ent/servlet/ch06_03.htm and the whole book from which this excerpt comes.
I would point out that what you're asking isn't specific to Tomcat. These push-pull issues are inherent to the Servlet specification itself. Yoav Shapira System Design and Management Fellow MIT Sloan School of Management Cambridge, MA USA [EMAIL PROTECTED] / www.yoavshapira.com > -----Original Message----- > From: Paul Wallace [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 10, 2005 8:44 PM > To: tomcat-dev@jakarta.apache.org > Subject: data push > > Hi All, > > I would like server A (TC 5.5) to 'push' streams of data to server B (TC > 5.5) at random points in time, and for server B to accept the data when it > is received. This is not using request / response, hence I am new to this > topic. A couple of questions - what protocol(s) can be used, HTTP? How > does > one push data, than than have it requested? Can anyone point me towards a > resource of this nature please? I understand sockets are in the picture - > also new to me. > > Thanks > > Paul. > > Paul Wallace BSc Hons. > IPTV Specialist > Two Way TV Australia > Level 3, City West Centre > 55 Pyrmont Bridge Road > Pyrmont > Sydney, NSW 2009 > Australia > > Tel +61 2 9017 7000 > Fax +61 2 9017 7001 > Mb +61 422 538 465 > Skype wallacpaul >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]