Arvind, If you use java5, you may remove "backport-util-concurrent-2.1.jar".
As Dims states, "commons-fileupload-1.0.jar" should be removable if your client does not "post" files to any web page. I am not sure, but the dependency from "axis2-kernel-1.0.jar" is probably due to the REST support.
If you are talking about a runtime environment, libraries regarding code generation might be also removed. If this is your case, you may be able to remove "annogen-0.1.0.jar".
"log4j-1.2.13.jar" should be optional, but Jaxen seems to have a direct dependency on it. Jaxen should be needed only for complex XPath queries, so you might be able to remove both jars.
For simple clients, JMS support should not be needed, so "geronimo-spec-jms-1.1-rc4.jar" is another jar that may be removed from the list.
"neethi-1.0.1.jar" provides some classes needed for WS-Policy support. Ideally, these classes should be optional, as in simple cases, this specification will not be used. Perhaps some in the list can confirm this.
The dependencies that you get by JarAnalyzer may be "soft" dependencies. They may refer to implementation classes that can be replaced by other ones through System properties. Can anybody confirm this? If this is correct, some wisely selected property definitions in the command line should remove several of these dependencies, and help to get a smaller footprint.
I personally think that some of these dependencies should be considered as bugs. Either at code level, or at documentation level, as it is hard to find information about how to replace/remove them.
Regards, Rodrigo Arvind Chaudhary wrote:
Dims, I tried, and this is the smallest number that it works on. I have also generated a dependency list. I am embedding in the mails. Don't know if attachments are allowed in this forum. -Arvind
-- ------------------------------------------------------------------- GRIDSYSTEMS Rodrigo Ruiz Aguayo Parc Bit - Son Espanyol 07120 Palma de Mallorca mailto:[EMAIL PROTECTED] Baleares - EspaƱa Tel:+34-971435085 Fax:+34-971435082 http://www.gridsystems.com ------------------------------------------------------------------- -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 05/05/2006
