Return-Path: Delivered-To: apmail-xml-batik-users-archive@www.apache.org Received: (qmail 60798 invoked from network); 13 Jan 2005 11:29:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jan 2005 11:29:34 -0000 Received: (qmail 97174 invoked by uid 500); 13 Jan 2005 11:29:33 -0000 Delivered-To: apmail-xml-batik-users-archive@xml.apache.org Received: (qmail 96861 invoked by uid 500); 13 Jan 2005 11:29:32 -0000 Mailing-List: contact batik-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: "Batik Users" Delivered-To: mailing list batik-users@xml.apache.org Received: (qmail 96842 invoked by uid 99); 13 Jan 2005 11:29:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from bagira.iit.bme.hu (HELO bagira.iit.bme.hu) (152.66.241.5) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 13 Jan 2005 03:29:32 -0800 Received: from [192.168.241.140] (gep2.l.iit.bme.hu [192.168.241.140]) by bagira.iit.bme.hu (8.11.3/8.11.3) with ESMTP id j0DBSfZ01979 for ; Thu, 13 Jan 2005 12:28:41 +0100 (MET) Message-ID: <41E65C08.1060200@freemail.hu> Date: Thu, 13 Jan 2005 12:31:20 +0100 From: Bertalan Fodor User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: hu-hu, hu MIME-Version: 1.0 To: Batik Users Subject: Unneccesary class loading? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the sysman@iit.bme.hu for more information X-MailScanner: Found to be clean.. X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I have a terrible time struggling with a performance issue on using Batik in an applet. When the Java Plug-in (1.5.0) is running my applet, it always try to download lots of non-existent classes. Accessing the server takes a lot of time and so does applet loading. These non-existent classes are in three categories: - classes that are related to language-dependent resources, like: org/apache/batik/dom/svg/resources/dtdids_xx.class org/apache/batik/util/resources/XMLResourceDescriptor_xx.class org/apache/batik/bridge/resources/Messages.class Perhaps I can understand this, and this doesn't take much time, because this kind of problem generates only 22 web accesses. - classes that are tried to be instantiated in a Class.forName, or something like that I suppose, e.g: org/mozilla/javascript/optimizer/Codegen.class org/apache/batik/script/jacl/JaclInterpreterFactory.class - classes that are related to the script variables included in the SVG file, like: in case of variable 'document', the classes looked for are: java/lang/document.class org/w3c/dom/document.class org/w3c/dom/css/document.class org/w3c/dom/events/document.class org/w3c/dom/smil/document.class org/w3c/dom/stylesheets/document.class org/w3c/dom/svg/document.class org/w3c/dom/views/document.class In my svg, this causes cca. 60 other web accesses. So I have 100 web accesses. For each of them a request is sent to the http server, it forwards the request, to a 404-page, the Plug-in downloads it as the file. It takes a lot of time. Do you have any idea how to overcome this problem? Thank you much, Bertalan Fodor --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org For additional commands, e-mail: batik-users-help@xml.apache.org