Subaru Enthusiasts Car Club of the Sierras  

Go Back   Subaru Enthusiasts Car Club of the Sierras > Off Topic Forums > Off Topic Chat

Off Topic Chat Talk about life in general...

Reply
 
Thread Tools
Old 2007-03-09, 09:34 AM   #1
Double Phister
EJ22
 
Double Phister's Avatar
 
Join Date: Mar 2005
Location: Elk Grove, CA
Posts: 450
 
Car: 2005 WRX STi
 
"I'm sideways and in control... I look good."
Default Any JAVA pros out there?

I have a JAVA webstart question.

We use devices with a JAVA UI. You connecto to them and about 20MB of JAR files download. This sucks for dial-up. We have an app that can precache the JAR files and uses webstart.

When I compare the precached JAR files to the ones that are on the device I notice that there are prefixes of RT or RM added. What is the reason for this? I'm trying to make a new set of precache files for a device revision that my app doesn't support.
__________________
Dan - '05 Black WRX STi.
My Mods
Double Phister is offline   Reply With Quote
Old 2007-03-09, 09:48 AM   #2
MikeK
Captain Turbo
 
MikeK's Avatar
 
Join Date: Feb 2004
Location: Reno
Posts: 3,318
 
Car: 05 STi
Default

I did this stuff years ago, but I think I have forgotten more than what I remember. I don't know the actual answer to your question off the top of my head, but I think that the naming of the jar files has something to do with versioning. I think it generates a manifest and whacks it into a jar which comes down with all the rest. Either that or one of the prefixes is for metadata about the jar, and the other one is the actual jar.

Also, if you update the version of one or more of the jar files, the old versions sometimes stay in the cache. I can't remember the naming convention they use for this, but it may have something to do with it.

Also I think from memory that what ends up in the cache is different depending on whether or not your jars are signed. I think it keeps signed jars in a different area to unsigned jars.

These links might be useful:

Web Start docs: link
JNLP spec: link
MikeK is offline   Reply With Quote
Old 2007-03-09, 10:04 AM   #3
Dean
Seņor Cheap Bastarde
 
Dean's Avatar
 
Real Name: Dean
Join Date: May 2003
Location: $99 Tire Store
Posts: 9,294
 
Car: $.04 STI
Class: Fast,Cheap & Reliable=STI
 
Deal, did somebody say Deal? Oh, Dean, yeah that's me.
Default

Quote:
Originally Posted by R4ND0M_AX3 View Post
I have a JAVA webstart question.

We use devices with a JAVA UI. You connecto to them and about 20MB of JAR files download. This sucks for dial-up. We have an app that can precache the JAR files and uses webstart.

When I compare the precached JAR files to the ones that are on the device I notice that there are prefixes of RT or RM added. What is the reason for this? I'm trying to make a new set of precache files for a device revision that my app doesn't support.
20MB downloaded JAR files make baby jebus cry...
__________________
I am a Commodore PET --- Now get off my lawn you kids...
Dean is offline   Reply With Quote
Old 2007-03-09, 10:17 AM   #4
Kevin M
EJ22T
 
Kevin M's Avatar
 
Join Date: Sep 2003
Location: Reno
Posts: 9,445
 
Car: '93/'01 GF6, mostly red
Class: 19 FP
Default

...what about 20MB .docs?
__________________
FWD is the new AWD
Kevin M is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java NES emulator AtomicLabMonkey Off Topic Chat 14 2006-10-10 08:37 AM


All times are GMT -8. The time now is 12:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
All Content Copyright Subaru Enthusiasts Car Club of the Sierras unless otherwise noted.