on-demand jar loading

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • koneru9999
    New Member
    • Jul 2007
    • 6

    #1

    on-demand jar loading

    hi,
    can anyone give me an idea of on-demand jar file loading...
    the situation where i need this is...
    i have lot of jar files lets for example 100 jar files...and when ever my applet loads..i need only 3 to 4 jar files only ...after that if user wants something extra then only i need to load those remaining jar files...

    i would be thankful if u provide me any links for reference..
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Originally posted by koneru9999
    hi,
    can anyone give me an idea of on-demand jar file loading...
    the situation where i need this is...
    i have lot of jar files lets for example 100 jar files...and when ever my applet loads..i need only 3 to 4 jar files only ...after that if user wants something extra then only i need to load those remaining jar files...

    i would be thankful if u provide me any links for reference..
    Now, I'm not quite sure, if this answer is correct, so if anyone finds an error, please say so. I might even be talking complete rubbish here.

    I guess, you could have a class for every jar file or for a group of jar files which import these. These are only called, if the user chooses to do so. Of course, this would be a lot of copy-and-paste-work plus changing the imported jar files, but I can't think of a better solution, as you can only define what to import right at the beginning of a class definition.

    Greetings,
    Nepomuk

    Comment

    Working...