JRE jar caching - is there any trick to ignore IP address?

Hello,
I'm a developer of GUI solutions for TV and Radio transmitter networks. In a current project TV-Stations are accessible via Web Browser with (relatively large) applets embedded in HTML pages. We are using JRE Plugin V6.x, the applets are the kernel element at the client side. The solution works fine - the only (but big) problem is the loading time of the jar libs used by the applets. There is one lib with appr. 1.5 MBytes and the end-customers, e.g. the DVB/ATSC-Service-Providers have in some cases only slow modem connections to the Tx-Stations (may be anywhere on a big mountain..) with 9 kbit/sec transfer rate.
Our Rich-Client-Solution ist optimized for small network bandwidths and works normally down to appr. 3 kbit/sec. The only problem is: the big jar-lib must be loaded before any communication may start. Of cause we strictly recommend our customers to enable caching - as it is by default - in SUN JRE plugin. But this helps not in each cases, because JRE caches each jar and other resources with the IP-address from where it have been loaded. It's prob. necessary for Java-included security, but bad for our applications.
Imagine a typical scene: An ATSC-TV-provider "GoodLuckBObama.tv" ;) has 150 TX/antenna stations around the United States. Each station has a unique IP (normally also not within the same sub net). When "GoodLuckBObama.tv" byes the 150 transmitters from us there is the current firmware release installed - e.g. 3.6.7 Now the provider wants to access all the stations remote via Web Browser from one central office - may be in NY. He logs on to IP 123.89.78.3 in Miami - there is an ADSL connection with 8 Mbit/sec - the web UI opens and works immediately. Happy about this he wants to have a look at a station in the Rocky Mountains with IP 33.44.55.66 - there is a Modem connection of 64 kbit only. He waits 5 and more minutes - he closes the Browser, starts again.. - it seems so as there is a bug in the Rocky Mountain's stations firmware - he calls our support for help and it's told him: "..we're very sorry, but you must have a connection above 1 Mbit to use the Web UI, beyond there is only SNMP.." Or you must wait more than 1 hour to install the client-software on your PC.. And that’s only why JRE-Plugin loads the same jar (eg. rstxui-browsercli-jar-3-6-7.jar) again because it's assumed as an unknown new jar - not already cached. And.. - imagine furthermore that "GoodLuckBObama.tv" decided: ok, we're waiting 1 hour for our 20 stations docked on via modem. After this there's everything all right ...until the 1st software update in 2 months - the same desaster starts again... and the customer asks himself - WHY??
I red with interest article "Applet Caching" in the JRE-Plugin developer guide - bit I didn't find a solution for the describe problem above.
What we want is: if there is a jar with the same name, size, version.. already in cache, we won't that the plugin loads the same again - from any IP. Is there any way to get this behaviour? Can we sign up the jar-libs in any manner to make sure that "it's 100% the same - ignore location/IP"? Or - if nothing other helps - is it possible to modify the (now Open Source) src code of the J-Plugin to force the necessary functionality in a "legal way" without any problems with the underlying license conditions?
I hope anybody can help me..
Thanks

Hi
Deploying all .jars (except the applet .jar file) as standard extensions could help.
[http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/extensions.html]
I didn't test this myself but according to the doc, Java plugin evaluates the Extension-Name, Specification-Version, Implementation-Version and Implementation-Vendor-ID of an extension requested by an applet.
If there is an installed extension that matches these criteria, Java Plugin will use it, otherwise the extension will be installed as specified in the applets MANIFEST file.

Similar Messages

  • IS THERE ANY TRICK TO CONNECT THE MACBOOK AIR TO A VGA PROJECTOR? (I HAVE PROPER APPLE CABLE)

    Is there any trick to connect the macbook air to a vga projector?
    (I have the Apple right cable).
    I'm a professor in Brazil and just starting using the macbook air...

    Hi LCMONTANARI,
    If you are having issues connecting an external display or projector to your MacBook Air, you may find the following articles helpful:
    OS X Mavericks: Connect multiple displays to your Mac
    http://support.apple.com/kb/PH13814
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Regards,
    - Brenden

  • My Ipad stop working and is just showing the apple logo and right after that the ITunes logo , I connected it to my PC but it ask me to restore it. Is there any trick to do not loose all my pictures if I restore it?

    My Ipad stop working and is just showing the apple logo and right after that the ITunes logo , I connected it to my PC but it ask me to restore it. Is there any trick to do not loose all my pictures if I restore it?

    Once the Device is in Recovery Mode... it is too late to save anything...
    To minimise loss... after the successful Recovery... Restore from the most recent Backup...
    See Restore from Backup here
    http://support.apple.com/kb/ht1766

  • My internal fan has gotten loud like a vacuum.  Are there any tricks to fixing it without taking it in?  Can it be taken in to replace the fan or is it time for a new computer?

    My internal fan has gotten loud like a vacuum.  Are there any tricks to fixing it without taking it in?  Can it be taken in to replace the fan or is it time for a new computer?

    Reset the SMC, as per > Resetting the System Management Controller
    1. Shut down the computer.
    2. Unplug the computer's power cord.
    3. Wait fifteen seconds.
    4. Attach the computer's power cord.
    5. Wait five seconds, then press the power button to turn on the computer.

  • Is there any way to print return address labels?

    Is there any way to print return address labels in Pages?

    I use Avery Design Pro. It's free, supports all thier templates, and works under Lion.
    http://www.avery.com/avery/en_us/Templates-&-Software/Avery-DesignPro-for-Mac.ht m

  • HT204150 I linked my outlook express with icloud, not realizing it would change my outlook express contacts.  I deleted email addresses from my iphone which in turn deleted them from my PC.  Is there any way to get these addresses back?

    I linked my outlook express with icloud, not realizing it would change my outlook express contacts.  I deleted email addresses from my iphone, not wanting them there which in turn deleted them from my PC.  Is there any way to get these addresses back? Seems I no longer have an outlook contacts list.

    It's Outlook, not Outlook Express (different program) and if you have now deleted them from iCloud and do not have a backup they are gone.

  • Is there any trick to make  Web.Show_Document less "smart"?

    It seems that when you use it to open a url that doesn't begin with "http://", "file://" etc. (e.g. "www.cnn.com"), it appends the url parameter to the current application server url before sending it to the browser. Well thanks a lot, but I don't want that level of service: I would like it to always simply try the url that the user typed in, as is, no matter how invalid it may be. Is there any way to force it to do that?

    Hi,
    it doesn't do much. a missing http:// in front of a URL is usually added the by the browser. Web.show_document() performs a browser based request so that the browser adds the content.
    If you want to define the URL then you need to pass it in as an absolute URL. If e.g. you add /mypath/myfile.html then the request starts with the hostname and the J2EE context path. This is nothing explicitly done in Web.show_document()
    Frank

  • When changing "browser.newtab.url" is there any way to prevent the address bar from getting focus?

    When I change "browser.newtab.url" to about:home and open a new tab, focus is set to the address bar not the search box on the firefox home page. The same thing happens if i change the url to google.com or another search engine. Is there any way to prevent this from happening.

    Custom new Tab has a small bug if the start page is exactly the same as the new tab page. Then the focus of the start page is on the address bar. Just leave the "www." out in the startpage and use "www." in the new tab page then it works perfectly. e.g.
    Startpage: google.com
    new Tab page : www.google.com
    Now the focus of the start page is on the search box.

  • Are there any issues with changing IP address of an ACS v5.3 system after initial setup?

    I am migrating from ACS v4.2.1 to v5.3.  I want the final v5.3 system to assume the IP address of the original 4.2 machine so I don't have to change any configs on the network devices.
    Are there any issues with changing the v5.3 system IP address AFTER the initial setup?

    I tried it without a problem. I changed the ip address of the WLC many times.
    You have to make sure though that:
    1-) You change the switchport accordingly to the appropriate vlan if the new ip belongs to a subnet of a different vlan.
    2-) Make sure that all AAA clients configured to use the new IP address of the ACS servers.
    Here is the procedure how to change the ip of the interface (as per cisco doc):
    http://goo.gl/0BYqVT
    I changed also by normal ip address command and it works. but of course the server must be standalone before doing that step (i.e. no secondary ACSs registered to it and it is not registered to other ACSs in a distributoin).
    HTH
    Amjad

  • Are there any tricks to powering up an iPhone 4s that seems dead as a door nail but is fully powered and had worked well all day?

    My 32g iPhone 4s iOS7 has been working well since the day I got it. Even today until about 3pm. It's fully charged. I checked something on it and returned it to my pocket. Next time I looked at it, it would not power up. Even tho Apple Support is off today for the 4th, they won't speak to me until I get my serial number, which I can't retrieve from a dead phone. I've gone thru all the power up procedures I know and I have attached it to a power cable to see if that would help. Nada. TIA for any tips or tricks. I'm at a complete loss. My wife is laughing at my desperation.

    What to do if your iPhone or iPad will not turn on

  • RDX drive -- terrible transfer rate (writing to drive). Is there any way to speed it up?

    I've tried both drag and drop and the Robocopy command to copy files to a RDX drive (under Win 7 home and pro). It starts off fast anough (25MB/sec) but shortly slows down to something like 1.5 MB/sec.  Just 35GB takes well more than 2 hours to copy.  And of course if there are many files involved it just gets worse.
    Are there any tricks for speeding up writing to the drive?

    Yes. You can download the Firefox installer and copy the file to an USB stick or other medium and install Firefox from that drive.
    You can find all Firefox versions here: http://www.mozilla.com/firefox/all.html

  • Is there any way to schedule the webi report as body of the mail

    Hi All,
             I have a bit different requirement. I need to schedule the webi reports to BlackBerry Mobile .
    The report should be displayed not as an attachment or URL but should be the body of the mail.
    Is there any Trick or Tip to do that.
    Thanks in Advance

    You could schedule the reports to run as an Excel or PDF document and the destination as a folder on a server.  Then after the reports are sent to the destination, you could use the Program Job Server to run a script which parses the files line-by-line and creates an email.  It's not the most elegant solution but in theory it should work.

  • Straightening and cropping scanned photos...is there a trick for this?

    Hi,
    I am scanning a bunch of photos of various sizes/shapes.  If I place the photos right up against the edge of the scanner, it crops it.  So what I have been doing is eyeballing it a couple of centimeters away from the edge.  Naturally it is slightly off as far as being aligned straightly.  I have been using transform to adjust the photo so it is straight.  Is there any trick within Photoshop to align it according to the images edges?
    Also, is there any way to use the wand (to basically select all of a photo) and then crop the selected?
    Thanks!
    PS. Since the photos are of various sizes I cannot use a holder.

    If the scanner is cropping the very edge of the glass off, try putting a piece of white tape down on the glass - maybe a 1/2 inch wide strip exactly parallel to the scanner edge. You can then slide your prints up to that and they will be aligned and within the scannable area.
    There are a couple of ways to easily deal with your current crop (pun intended) of scans. The easiest way is to just use the Crop Tool to both crop and rotate at the same time, but make sure that you leave the resolution blank in the crop tool options at the top. The second is to use the Ruler Tool to measure along any of the sides of your scan. That angle will be recorded automatically in the Image>Rotate>Arbitrary dialog, where you can rotate the image back square again. You'll then have to crop it, so you might as well just do it in one fell swoop with the crop tool.

  • Any trick to managing apps in iTunes 9?

    Not sure if this question should be posted here or in the iTunes section ..
    I have my apps on pages sorted by the application type. I have utilities on page 2, 3, Games on page 4, 5, and so on. [Aside: I wish Apple implements grouping of apps on tabbed pages. Then I can display only games if I need to, without flipping through pages of app icons].
    If I install a new App, it adds the icon to the last page. If I drag and move that new app to page 2, then instead of cascading all icons through the rest of the pages, it puts the "extra" icon from the bottom of page 2 all by itself on a new page. I have to drag that on to top of page 3, and the process repeats itself until the last page has the added icon.
    This is tedious. Is there any trick in application pages management so that the icons "flow" down to the next pages if I insert an app on a page?

    Interesting idea but, unfortunately it didn't work. I am actually able to synch my apps by checking or unchecking one of the other options such as movies. Weird.
    Thanks for the idea though.

  • NI-DAQ 6008USB: any trick to use PGA also for RSE inputs?

    I'm using a NI-6008.
    The sensor that I'm using, give me 0..1.5V in output and it's powered by
    +5V of the 6008 so it share the same GND with 6008:
    +5V
    [SENSOR] -----out----> >--AI0
    | >--GND
    --- GND
    In this scenario, must I configure input as RSE input?
    (DAQmx_Val_RSE in NI-DAQmx) or I can configure input as differential
    input (DAQmx_Val_Diff in NI-DAQmx)?
    But, so doing, I can't use PGA to achieve full scale, since Gain=1 when
    RSE inputs are used.
    Is there any trick to force use of PGA also with RSE inputs?
    Thanks in advance

    If you are using 4 AI channels or less and you're using the same ground all around, you can operate in differential mode and ground the - terminal and connect your measurement to the + terminal.  This will allow for the use of the internal amplifier which will give you a higher effective resolution. 

Maybe you are looking for

  • Multiple Account Mgmt question

    I am having some difficulty mastering the Owner/Permissions account managment features. Probably user error but.. I have set up 3 separate accounts for kids in the house- all on one iMac. They are "managed" accounts with I think "simple finder" capab

  • Sales order cannot be saved if mandatory conditions are missing.

    We have a senario here, Basically, It has been configured that sales order should not be saved without mandatory conditions like Price(ZPRC), Tax(VAT), Min and Max values and MRP(ZMRP). Also, tested on various servers. Everything was and is working f

  • Arranging of 'folders' in 'Finder'

    Hi, I need some assistance with rearranging my folders in "Finder" Can you tell me how the folders should be set out.  I am trying to organize my photos and have too many 'Picture' and 'Iphoto' folders?  would you be able to send me a diagram of how

  • Java Required in SAP XI

    Hey Guys i have my background in ABAP but i wanna know JAVA too,i dont want to go for installation or admin but jst need some links which i can study to get an idea about how much of JAVA is required for a XI developer. Thanx Ahmad

  • Cannot open application associated with unknown filetype

    I am trying to download or open a file type of .psdata for which I have an application installed however when I click the link FF simply opens the file which of course displays a page of binary data. FF used to open this file correctly but now it doe