users@jaxb.java.net

RE: JAXBContext.newInstance() - long time to execute

From: Beech Tanya <TBEECH_at_qinetiq.com>
Date: Thu, 4 May 2006 09:12:25 +0100

Hi

We create .aar files for axis webservices that are deployed within tomcat.

Regards Tanya

Tanya Beech
Signal Processing

QinetiQ
Bldg E Rm 103
Malvern Technology Centre
St. Andrews Road, Malvern
Worcestershire, WR14 3PS

Tel: 01684 895232
Email: tbeech_at_QinetiQ.com
Mobile: 07766 134364
Web: www.QinetiQ.com

QinetiQ - The Global Defence and Security Experts
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: 03 May 2006 17:08
To: users_at_jaxb.dev.java.net
Subject: Re: JAXBContext.newInstance() - long time to execute

Beech Tanya wrote:
> Thanks for that. We ran the code through a profiler and found that
because
> we had zipped the jaxb jars in the aar file it was taking a long time to
> unzip them. So we have put them in the tomcat lib directory and that
seems
> to have done the trick.

What's aar? Do you mean war? But then, war unpacking happens when you
deploy an app, not when you do JAXBContext.newInstance().


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
The information contained in this E-Mail and any subsequent
correspondence is private and is intended solely for the intended
recipient(s).  The information in this communication may be confidential
and/or legally privileged.  Nothing in this e-mail is intended to
conclude a contract on behalf of QinetiQ or make QinetiQ subject to any
other legally binding commitments, unless the e-mail contains an express
statement to the contrary or incorporates a formal Purchase Order.
For those other than the recipient any disclosure, copying,
distribution, or any action taken or omitted to be taken in reliance on
such information is prohibited and may be unlawful.
Emails and other electronic communication with QinetiQ may be monitored
and recorded for business purposes including security, audit and
archival purposes.  Any response to this email indicates consent to
this.
Telephone calls to QinetiQ may be monitored or recorded for quality
control, security and other business purposes.