Archive file format for a Service Assembly.

The specification (in section 6.3.3 on pg 70) says:

"The deployment package itself consists of a deployment descriptor, and one or more service unit archives, all contained within a ZIP archive file."

I want to know if it is correct to interpret it as that the compression format used should be ZIP format so that the ZIP API provided by JDK can read it. And hence the extension of the archive can be anything then, apart from a JAR or a zip.

Please let me know.

Thanks and Regards,

Setu

[524 byte] By [setu_jbiqaa] at [2007-11-26 14:51:51]
# 1

The extension used for the SA file is of no significance; the file must be treated by the JBI implementation as a ZIP archive file, as specified in the part of the JBI spec you quoted.

As for compression: the specification doesn't mandate use of the ZIP API, but I think that is a very reasonable assumption.

A word of warning to Eclipse users: I discovered a while ago that some Eclipse tools can produce ZIP files that cannot be read using the Java ZIP API; the jar tool from the Java SDK should be used instead.

-Ron

RonTen-Hovea at 2007-7-8 8:40:05 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...