[
https://issues.apache.org/jira/browse/SCOUT-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom Cunningham resolved SCOUT-91.
---------------------------------
Resolution: Fixed
Cache the JAXBContext so we don't have to do a newInstance all the time.
> JAXBContext.newInstance is expensive and needs to be cached
> -----------------------------------------------------------
>
> Key: SCOUT-91
> URL: https://issues.apache.org/jira/browse/SCOUT-91
> Project: Scout
> Issue Type: Bug
> Components: Scout Implementation
> Affects Versions: 1.1.1
> Reporter: Anil Saldhana
> Assignee: Tom Cunningham
> Fix For: 1.2
>
>
> JAXBContext.newInstance is very expensive.
> The JAXBContext needs to be cached in a public static final variable after
> creation for later access. Since it is threadsafe by design, it should be
> possible to cache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]