Pack200 URL Handler for dls

Calum Shaw-Mackay <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <6D6F579D68FDD611B74600508B5E0181C8A91D@exchange1.countrywide-assured.co.uk>
Hi all-

I've been messing around this morning with Pack200, and I've written a
little protocol handler that handles unpacking the <file>/jar.pack.gz file
and presents the file back to the URLClassloader as the unpacked input
stream. This requires no modifications to apache or a special servlet, so
should (although not tested it yet) work the ClassServer.

It requires the addition/modification of -Djava.protocol.handler.pkgs to
your SharedGroupDescriptor VM args, and addition of the property to your
service VM properties. I've tested this with activatable groups, and Incax
ServiceBrowser

If anybody might find this useful, I can drop this somewhere on jini.org

Cheers

--Calum

__________________________________________________________________
Liberata is the trading name of Liberata UK Limited (Registered in England
and Wales - No 1238274) and other Liberata group companies which include
Liberata Financial Services Limited (Registered in England and Wales - No
5301492), an entity authorised and regulated by the Financial Services
Authority. The holding company is Liberata plc ( Registered in England and
Wales - No 3987802).

Registered Offices, 17 London End, Beaconsfield Old Town, Buckinghamshire,
HP9 2HN

IMPORTANT NOTICE:
This e-mail (including all attachments) is confidential and may be
privileged. It is for the exclusive use of the intended recipient(s) only,
and must not be re-transmitted in an amended form without our consent. If
you have received it in error, please contact us immediately at
[email protected]. Please then delete it and do not disclose its
contents to any other person.

Security and reliability of e-mails are not guaranteed. We operate
anti-virus programmes but you must take full responsibility for virus
checking this e-mail (including all attachments). Liberata plc do not accept
any liability in respect of any damage caused by any virus which is not
detected.

All e-mails to and from anyone @liberata.com may be examined for breaches of
employee policies and the law. All e-mails to anyone @liberata.com are
communications to the company and not private and confidential to any named
individual.

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html

JDC members can download the JavaSpaces(tm) Technology from:
http://developer.java.sun.com/developer/products/jini/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.