I looked in the documentation. For the <jar> element it says "Specifies a JAR file that is part of the application's classpath".
So, that answers the first part of your question, I think. For the second question: is there any other way to do what? What problem were you trying to solve with that idea?
posted 10 years ago
Thanks for your reply. Sorry for my late reply.
We had this config file which contains the connection-properties for the client to connect to the server. We are using rmi over http. So the properties are like connection.protocol =..... connection.port=.... connection.hostname=... etc...
These are like defined deployment time at deployment time. So we wanted to be able to specify these properties in a file in the server. This file will not be in a jar. And we wanted this file to be downloaded to the client via java web-start.
==================== Thats the whole story in short.
Now 2 Qs, 1. What is suitable approach in this scenario? 2. Is there a way to download any other than jar, zip.. like .exe, .xml files?