users@jaxb.java.net

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

From: Jorge M. <ccsdev_at_gmail.com>
Date: Sun, 9 Apr 2006 01:05:45 -0400

I have seen the same problem. Specially when using remote debugging
into my servlets, parsing the first document takes a lot of time. My
schema is also small.

As a solution to avoid the timeout of the first call, get the instance
of the jaxb context in the web application context listener.

-Jorge


On 3/30/06, Beech Tanya <TBEECH_at_qinetiq.com> wrote:
> Hi
>
> I am extremely pushed for time at the moment so will look into this in a few
> weeks.
>
> 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: 28 March 2006 22:25
> To: users_at_jaxb.dev.java.net
> Subject: Re: JAXBContext.newInstance() - long time to execute
>
> Kirill Grouchnikov wrote:
> > That would be a profiler and not a debugger?
>
> Sorry, yes, profiler. Not debugger.
>
>
> --
> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>