JAR in JAR

Srikanth. S. (sriks@its.soft.net)
Tue, 9 Dec 1997 18:03:02 +0530

Message-Id: <01BD04CC.B66EDC00@1234>
From: "Srikanth. S." <sriks@its.soft.net>
To: "'java-security@java.sun.com'" <java-security@web2.javasoft.com>
Subject: JAR in JAR
Date: Tue, 9 Dec 1997 18:03:02 +0530

I have a third-party JAR file. Using it we have developed a Screen =
comprising of two classes. This accesses printer resource in the client =
so we wanted to test Signing of Applet.

I had used the Duke.x509 certification as a test bed. But, Printing =
doesnot seem to happen. Though its printing from AppletViewer. HotJava =
Print does not report any error nor does it print.

How do i bundle the third-party JAR file into my JAR file. What sequence =
should be followed for Signing.

My current situation is like this :

1. Sign the Third Party JAR file.
2. Merge the .class and .jar file into a new JAR. using 'jar' with cf =
option.
3. Sign the new JAR.
4. Copy both the new JAR and the third party JAR to the desired =
location.
5. In the HTML, give both the JAR files as comma separated.
6. Fire the HTML from HotJava Browser.

I checked the Java Key and Jar Man Pages in Sun Docs' but its does not =
talk about JAR in JAR or how to use third party JAR files for packaging.

Also, finally we have to write a installation script and install the =
application in a IIS Server or a Netscape Server. Where can i find info =
about Installation and Packaging of JAVA classes and JAR files.

Any help or links to documents will be greatly appreciated.

Thanks

Srikanth. S.

/*---------------------------------------------------------*/

Its the journey and not the destination which matters...

S. Srikanth
Software Engineer
IT Solutions India Pvt Ltd
17, South End Road, Basavanagudi,
Bangalore - 4.

EMail : sriks@its.soft.net

/*---------------------------------------------------------*/