geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-5925) Use one xml parsing related instance (e.g. SAXParserFactory) for application deployments
Date Thu, 21 Apr 2011 07:28:05 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated GERONIMO-5925:
---------------------------

    Summary: Use one xml parsing related instance (e.g. SAXParserFactory) for application
deployments  (was: Use one xml parsing related instance (e.g. SAXParserFactory) for one deployment
process)

Just double check the doc, seems that once the factory is configured, it could be shared by
multiple threads for newParser invocations, so we could create a default factory somewhere
for each application deployments. 

> Use one xml parsing related instance (e.g. SAXParserFactory) for application deployments
> ----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5925
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5925
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>            Reporter: Ivan
>            Priority: Minor
>
> While investigating some other issues, I found that multiple XML parsing related instance
(e.g. SAXParserFactory) are created for each DD parsing. And, it causes many times for resource
searching for different properties. I am thinking to use one instance for each application
deployment, since the whole deployment process is running on the same thread, so no need to
concern the thread-safe issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message