how to count number of Java Web Start application downloads?
Hello,
The title says it all. Is there areliable andsecure way to get the number of times my application jars have been downloaded?
Reason: I am trying to determine whether a business model that charges (say) 1 cent, each time a jar is downloaded, is viable.
thanks,
Anil
[325 byte] By [
anilp1a] at [2007-10-3 4:34:00]

> Hello,
> The title says it all. Is there a reliable and
> secure way to get the number of times my
> application jars have been downloaded?
Absolutely, but this will have to be done at the server level. Each time a request for the JNLP file is made, simply log it. But again, I don't think you can/would do this in Java so it's server-specific regarding implementation.
> Reason: I am trying to determine whether a
> business model that charges (say) 1 cent, each time a
> jar is downloaded, is viable.
> thanks,
> Anil
Well, I guess you could log the IP that made the request, because you don't want to charge someone twice if they crash and reload in 5 minutes, right?