3 Replies Latest reply: Feb 18, 2011 10:30 AM by 793415 RSS

    How to stop Classloader looking into applet's root directory for classes?

    user12866708
      Hi,

      We try to use Hibernate in an applet, it sometimes tries to load classes which don't exist.

      However because the applet-classloader also has to look at the server the applet was downloaded from, our whole application is terribly slow because of all the roundtrips:
      network: Cache-Eintrag nicht gefunden [url: http://93.190.88.182/demo/x.class, Version: null]
      network: Verbindung von http://93.190.88.182/demo/x.class mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://93.190.88.182:80/ mit Proxy=DIRECT wird hergestellt
      network: Cache-Eintrag nicht gefunden [url: http://93.190.88.182/demo/x.class, Version: null]
      network: Verbindung von http://93.190.88.182/demo/x.class mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://93.190.88.182:80/ mit Proxy=DIRECT wird hergestellt
      Is there any way to tell the classloader not to look at the applet's base directory for classes not found in its archives?

      Thank you in advance, Clemens