• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Extension mechanisms: can they be dynamic?

 
Marco Tulio Borges
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, Ranch pals... I have a huge problem...

There's an app o' mine that is bundled in a jar file. It's an Applet, but that doesn't matter. What really matters is: the jar file uses an extension. An extension from Sun. To use that and install it automatically in the client machine I have to put that extension in the MANIFEST file for my app, like the code that follows:


The thing is: my clients have to have this jar file (jai_imageio-windows-i586.jar) in their server, so it can be downloaded and installed (in my case by the Java Plug-in). But the address to this file (http://someeirdaddress.com.any/anything/herecomeswhatisimportant/jai_imageio-windows-i586.jar) has to be inside the MANIFEST file, which is terrible, because if I have 1 zillion clients I'll have to pack my jar 1 zillion times, changing the MANIFEST everytime.

So! The question that is reeeeally bothering me is: "is there a way to set that my app uses an extension from outside the MANIFEST file, say, from my code? If yes, how? If no, is there any auto-checking-and-installing solution for my problem?"

[ If I had a way to visualize my post before actually post it, it would be really great! ]
[ July 08, 2005: Message edited by: MTulio Borges ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic