2. Install a http server (Abyss Web Server X1 is a good choice) and a site mirroring application (HTTrack Website Copier is also a good choice).
3. Copy the jnlp file inside the home folder of your http server.
4. Convert the jnlp file from LF to CR+LF for editing convenience (get a tiny tool made by myself here).
5. Copy all the resources in the form
<jar href=”something.jar”></jar> and convert them to hyperlinks like
<a href=”codebase/something.jar”>something</a>
6. Put the hyperlinks (currently 42 of them) into a simple html file, and place this file inside your home folder of the http server (an example is here).
7. Download all the resources. With HTTrack create a new project. Navigate with your browser at the loopback address 127.0.0.1 and find the html file containing the resources links. Copy this address to HTTrack, and also choose for action “Download web sites + questions”. When the “Link detected…” window appears, choose “Mirror the whole domain”. The mirroring may take a while (usually the mirroring speed is slightly slower). If you use HTTrack you can select the speed of the download by going to Mirror menu, then Limits tab and type in the Max transfer rate (B/s) the value you want (for example 1000000).
8. Copy all the resources inside your home http server.
9. Modify the jnlp file replacing
<jnlp href="bdne-client.jnlp" spec="1.0+" codebase="http://ha.bdne.edu.ro/bdne-client"> with<jnlp href="bdne-client.jnlp" spec="1.0+" codebase="http://127.0.0.1"> and<j2se version="1.4" max-heap-size="128m" initial-heap-size="32m"> </j2se> with<java version="1.6" max-heap-size="128m" initial-heap-size="32m"> </java>
Also get rid of the icon deleting <icon href="bdne-icon.jpg"> </icon> (an example is here)
10. Don’t forget to uninstall any other older version of the BDNE Client.
11. Double-click the modified jnlp file. The client will be installed from local harddisk. Remember to start the http server if you closed it.
12. To create a shortcut on Desktop and Start menu you can go to JRE bin folder (something like <rootpath>\Program Files\Java\jre 1.6.0_03\bin\) and run javacpl.exe or using the standard way go to Start->Control Panel->Java, then go to General tab, choose View… for Temporary Internet Files and then select the BDNE Client from the list and click the button to install shortcuts.
13. You can also change the default icon to something more appealing.
Note: You don't need the Abyss Web Server to run after the client is installed. It is required only at installation time when local jnlp file is checked against codebase jnlp file (primarily that's why you download all the installation files to local computer). Every jar file is digitaly signed, therefore you cannot forge them anyway.
Update: The tutorial still works today October, 8th, 2010. It was tested using Java 6 Standard Edition Update 21. A zip file with the client has been uploaded here. If you download this version all you have to do is to follow the tutorial from section 8. Section 9 is only required partially (the changes have been applied, but you may need to modify the codebase).



