ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | April 2005 Index

<--  Date Index     <--  Thread Index    

RE: [enhydra] slow serving of JARs


Title: Message
Slobodan,
 
setting PresentationManager.CacheFiles to false decreased the applet loading time considerably. However, it didn't improve the speed of uploading files to the client machine. It still takes about a minute to upload a 12KB file to the client machine on the local network.
I guess that could be a problem with my applet code, but then why does it work fine when I run it from a directory instead of from inside the application jar?
Thanks.
 
Oleg
-----Original Message-----
From: Slobodan Vujasinovic [mailto:slobodan@xxxxxxxxxxxxx]
Sent: Thursday, April 28, 2005 10:16 AM
To: enhydra@xxxxxxxxxxxxx
Subject: Re: [enhydra] slow serving of JARs

Hi,
 
Try with setting "PresentationManager.CacheFiles" application property to "false"!
 
conf file configuration entry
---------------------------------------
PresentationManager.CacheFiles = false
 
web.xml configuration entry
----------------------------------------
<env-entry>
    <env-entry-name>PresentationManager/CacheFiles</env-entry-name>
    <env-entry-value>false</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
  </env-entry>
 
Hope this helps!
 
Regards,
     Slobodan Vujasinovic
Enhydra Development Team
 
 
----- Original Message -----
Sent: Thursday, April 28, 2005 5:48 PM
Subject: [enhydra] slow serving of JARs

Greetings.
 
I have an Enhydra web application, which consists of a single JAR file, say application.jar. This makes the deployment a breeze.
However, my web application contains several applets, which are jared up, signed and put in application.jar
Applets get loaded in the browser, but it takes about a minute to load a 100K applet. This is way too slow for the local network connection. Moreover, if an applet needs to upload some data on the client machine, it also takes a long time.
 
If I unpack application.jar and configure my Enhydra Web Application base to be a directory instead of the original JAR, then all my applets get loaded quickly and performance is good.
 
Is there a way to improve the performance of the applets, which are loaded from the JARs inside of the Enhydra Web Application JAR?
 
Thanks.
 
Oleg

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
If you have questions about this email,
Please contact the IT Help Desk.


<--  Date Index     <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.