RocJ & Web Start

Java Swing Client

RocJ & Web Start

Postby rjversluis » 29.06.2010, 09:52

Hi,

I prepared a JNLI file for launching RocJ by Web Start:

http://www.rocrail.net/software/java-wa ... /rocj.jnlp

Image
Last edited by rjversluis on 30.06.2010, 16:34, edited 3 times in total.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 29.06.2010, 11:43

OK,

now the right MIME type is also set to start it right away:

http://www.rocrail.net/software/java-wa ... /rocj.jnlp
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

RocJ by Web Start

Postby rjversluis » 29.06.2010, 14:05

Just push the button and go:

Image
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby aschauer » 29.06.2010, 14:34

fine
aschauer
 

Postby jeanmichel » 29.06.2010, 17:19

cool
jeanmichel
 

Postby ron&bram » 29.06.2010, 19:21

Nice one Rob,

Even at my work the admin forgot to block that one. Will the jar files also remain available for the guys like me where the pad has no wifi reception in the train room (I use a point to point link)?

Best regards, Ronald
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 29.06.2010, 19:31

Hi Ronald,

the offline option in the jnlp file is set, so I would expect it will work without internet connection if you have the app in the web start cache.

<offline-allowed/>
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ron&bram » 29.06.2010, 21:39

Hi Rob,

Without internet access getting the file in the web cache is a bit difficult, but I will give a try (the jar file I just put on a sd card on a pc with connection).

Best regards, Ronald
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 30.06.2010, 08:15

Hi Ronald,

If you want to start it offline:
javaws -viewer

Image
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ron&bram » 30.06.2010, 20:27

Hi Rob,

It works, but not smoothly. The webbrowser on the pad (midori) can only save the jnlp file, although I associated it with javaws. RocJ is then downloaded and started. First I'll try another browser. I have not tried yet what happens when the pad is disconnected from the web. For the moment using a jar file on the sd card remains simpler and quicker. Remember that pads usually have arm type processors and not the full spectrum of goodies available for Ubuntu are available for amr processors (for example Sun Java jre or jdk is unavailable due to lacking binairies)

Best regards, Ronald
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 30.06.2010, 20:44

Hi Ronald,

stick with the SD solution and forget about Web Start.
I only needed to test this to get approved by OracleJavaSun to get in the US Java Store.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 


Return to RocJ