Re: howto add a UDP Listener

2009-09-14 Thread Sebastian Wagner
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.

Re: howto add a UDP Listener

2009-09-14 Thread Andre-John Mas
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.

howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
hi, I would like to add an UDP Listener to send and receive UDP to my tomcat-webapp. Unfortunately the server does reject Packets when I do try a usual DatagramSocket socket = new DatagramSocket(4445); as soon as I try that I get errors in my application. Is there a way of telling tomcat to

RE: howto add a UDP Listener

2009-09-13 Thread Caldarale, Charles R
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

Re: howto add a UDP Listener

2009-09-13 Thread 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

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
Mas aj...@sympatico.ca 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

RE: howto add a UDP Listener

2009-09-13 Thread 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

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
...@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

RE: howto add a UDP Listener

2009-09-13 Thread 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

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
You might be right, I will have to try different approaches till the final release. thanks, sebastian 2009/9/13 Caldarale, Charles R chuck.caldar...@unisys.com From: Sebastian Wagner [mailto:seba.wag...@gmail.com] Subject: Re: howto add a UDP Listener I think you mean why it does

Re: howto add a UDP Listener

2009-09-13 Thread 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

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
yes it is a solution send only ... or receive only. sebastian 2009/9/13 Andre-John Mas aj...@sympatico.ca 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

Re: howto add a UDP Listener

2009-09-13 Thread 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