Re: howto add a UDP Listener
They are both licensed under the GPL. You can web start enable any Java application. BTW Just in case I am detecting a misunderstanding, Java Web Start is not the same thing as a webapp. You don't need Tomcat to 'web start' a Java application. Apache HTTPD will do the job just fine. André-John On 14-Sep-2009, at 02:44, Sebastian Wagner wrote: The problem is that Sharer & Viewer should be a Java Application that does not require Installation on the client machine and it has to be available for all plattforms. So Java Web Start is our choice. The solution will be part of a GPL-Project so it cannot be based on commercial products. thanks, sebastian 2009/9/13 Andre-John Mas You may want to look at the Java VNC Viewer: http://www.realvnc.com/support/javavncviewer.html or TightVNC: http://www.tightvnc.com/download.html it may save you repeating work which has already been done elsewhere. André-John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: howto add a UDP Listener
The problem is that Sharer & Viewer should be a Java Application that does not require Installation on the client machine and it has to be available for all plattforms. So Java Web Start is our choice. The solution will be part of a GPL-Project so it cannot be based on commercial products. thanks, sebastian 2009/9/13 Andre-John Mas > You may want to look at the Java VNC Viewer: > > http://www.realvnc.com/support/javavncviewer.html > > or TightVNC: > > http://www.tightvnc.com/download.html > > it may save you repeating work which has already been done elsewhere. > > André-John > > > On 13-Sep-2009, at 16:10, Sebastian Wagner wrote: > > yes it is a solution send only ... or receive only. >> >> sebastian >> >> 2009/9/13 Andre-John Mas >> >> >>> On 13-Sep-2009, at 15:04, Sebastian Wagner wrote: >>> >>> Thanks for your answers. >>> I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. As this is quite time-critical I need to integrate the UDP-handler into my webapp. It seems like using MINA does solve my Issues. thanks, sebastian >>> Will you be sending images to a single host and is the solution send >>> only? >>> >>> >>> André-John >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >>> >> >> -- >> Sebastian Wagner >> http://www.webbase-design.de >> http://openmeetings.googlecode.com >> http://www.laszlo-forum.de >> seba.wag...@gmail.com >> > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.laszlo-forum.de seba.wag...@gmail.com
Re: howto add a UDP Listener
You may want to look at the Java VNC Viewer: http://www.realvnc.com/support/javavncviewer.html or TightVNC: http://www.tightvnc.com/download.html it may save you repeating work which has already been done elsewhere. André-John On 13-Sep-2009, at 16:10, Sebastian Wagner wrote: yes it is a solution send only ... or receive only. sebastian 2009/9/13 Andre-John Mas On 13-Sep-2009, at 15:04, Sebastian Wagner wrote: Thanks for your answers. I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. As this is quite time-critical I need to integrate the UDP-handler into my webapp. It seems like using MINA does solve my Issues. thanks, sebastian Will you be sending images to a single host and is the solution send only? André-John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.laszlo-forum.de seba.wag...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: howto add a UDP Listener
yes it is a solution send only ... or receive only. sebastian 2009/9/13 Andre-John Mas > > On 13-Sep-2009, at 15:04, Sebastian Wagner wrote: > > Thanks for your answers. >> >> I am working on a Desktop Sharing application that is sending the Desktop >> Images over UDP to Tomcat. As this is quite time-critical I need to >> integrate the UDP-handler into my webapp. >> It seems like using MINA does solve my Issues. >> >> thanks, >> sebastian >> > > Will you be sending images to a single host and is the solution send only? > > > André-John > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.laszlo-forum.de seba.wag...@gmail.com
Re: howto add a UDP Listener
On 13-Sep-2009, at 15:04, Sebastian Wagner wrote: Thanks for your answers. I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. As this is quite time-critical I need to integrate the UDP-handler into my webapp. It seems like using MINA does solve my Issues. thanks, sebastian Will you be sending images to a single host and is the solution send only? André-John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: howto add a UDP Listener
You might be right, I will have to try different approaches till the final release. thanks, sebastian 2009/9/13 Caldarale, Charles R > > From: Sebastian Wagner [mailto:seba.wag...@gmail.com] > > Subject: Re: howto add a UDP Listener > > > > I think you mean why it does NOT use a reliable protocol ... ? > > Which is what I said: > > > > Why *doesn't* the Desktop Sharing application use a reliable protocol > > > I hope to gain some performance by using UDP. > > Simply by eliminating the ACKs? I think you'd be hard pressed to measure a > real-world difference. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.laszlo-forum.de seba.wag...@gmail.com
RE: howto add a UDP Listener
> From: Sebastian Wagner [mailto:seba.wag...@gmail.com] > Subject: Re: howto add a UDP Listener > > I think you mean why it does NOT use a reliable protocol ... ? Which is what I said: > > Why *doesn't* the Desktop Sharing application use a reliable protocol > I hope to gain some performance by using UDP. Simply by eliminating the ACKs? I think you'd be hard pressed to measure a real-world difference. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: howto add a UDP Listener
I think you mean why it does NOT use a reliable protocol ... ? Iit is not that important if some packages are lost in this case and I hope to gain some performance by using UDP. sebastian 2009/9/13 Caldarale, Charles R > > From: Sebastian Wagner [mailto:seba.wag...@gmail.com] > > Subject: Re: howto add a UDP Listener > > > > I am working on a Desktop Sharing application that is sending the > > Desktop Images over UDP to Tomcat. > > Why doesn't the Desktop Sharing application use a reliable protocol (e.g., > HTTP over TCP) to talk to Tomcat? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.laszlo-forum.de seba.wag...@gmail.com
RE: howto add a UDP Listener
> From: Sebastian Wagner [mailto:seba.wag...@gmail.com] > Subject: Re: howto add a UDP Listener > > I am working on a Desktop Sharing application that is sending the > Desktop Images over UDP to Tomcat. Why doesn't the Desktop Sharing application use a reliable protocol (e.g., HTTP over TCP) to talk to Tomcat? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: howto add a UDP Listener
Thanks for your answers. I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. As this is quite time-critical I need to integrate the UDP-handler into my webapp. It seems like using MINA does solve my Issues. thanks, sebastian 2009/9/13 Andre-John Mas > > On 13-Sep-2009, at 14:19, Caldarale, Charles R wrote: > > From: Sebastian Wagner [mailto:seba.wag...@gmail.com] >>> Subject: howto add a UDP Listener >>> >>> Is there a way of telling tomcat to receive UDP Packets and forward >>> them to my Handlers? >>> >> >> No. Tomcat is a server for HTTP requests running over TCP protocol. >> You'll need to implement your own UDP handler. You might want to look over >> this thread, which sounds similar to your situation (ignore the last message >> of the thread, which is a hijack): >> http://marc.info/?t=11356216962&r=1&w=2 >> >> You might be able to make use of this within your code: >> http://mina.apache.org/ >> > > I am just curious what problem the original poster is trying to address? > > The approach I would probably take is to make an external "proxy" > application that accepts the UDP requests and then submits the data as an > HTTP request to the web server using a GET or POST request. The advantage > with this is that it helps keep the webapp focused on HTTP and not stuff > that doesn't really fit with web server. > > André-John > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.laszlo-forum.de seba.wag...@gmail.com
Re: howto add a UDP Listener
On 13-Sep-2009, at 14:19, Caldarale, Charles R wrote: From: Sebastian Wagner [mailto:seba.wag...@gmail.com] Subject: howto add a UDP Listener Is there a way of telling tomcat to receive UDP Packets and forward them to my Handlers? No. Tomcat is a server for HTTP requests running over TCP protocol. You'll need to implement your own UDP handler. You might want to look over this thread, which sounds similar to your situation (ignore the last message of the thread, which is a hijack): http://marc.info/?t=11356216962&r=1&w=2 You might be able to make use of this within your code: http://mina.apache.org/ I am just curious what problem the original poster is trying to address? The approach I would probably take is to make an external "proxy" application that accepts the UDP requests and then submits the data as an HTTP request to the web server using a GET or POST request. The advantage with this is that it helps keep the webapp focused on HTTP and not stuff that doesn't really fit with web server. André-John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: howto add a UDP Listener
> From: Sebastian Wagner [mailto:seba.wag...@gmail.com] > Subject: howto add a UDP Listener > > Is there a way of telling tomcat to receive UDP Packets and forward > them to my Handlers? No. Tomcat is a server for HTTP requests running over TCP protocol. You'll need to implement your own UDP handler. You might want to look over this thread, which sounds similar to your situation (ignore the last message of the thread, which is a hijack): http://marc.info/?t=11356216962&r=1&w=2 You might be able to make use of this within your code: http://mina.apache.org/ - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org