This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a question about external java libraries. I have applets that use other java libraries (PDFBox, SQL server drivers, etc.), and what I do is put the Binary code in the jar file with the applet that the HTML page calls. This makes the applet take forever to load because the jar file becomes huge. I know that this is wrong but how else can you do it? For some reason setting classpaths doesn't work for me.
I actually am already using archive to access the .jar file that contains my applet class and its supporting files. I'm just wondering if I can use archive in the applet tag to access my applet, and have that access a different jar file outside of the jar that contains my applet.
So let's say I have MyApplet.jar and MySupportFiles.jar. If they are in the same directory, and my HTML page accesses the MyApplet.jar with the archive attribute, could it then use classes that are in MySupportFiles.jar?