RichFaces DocumentBuilder performance issue
Issue
- The Richfaces creates a org.apache.xerces.jaxp.DocumentBuilder instance for each request. This causes bad performance.
- We have profiled out application and it seems 80+% of the object allocations are org.ajax4jsf.context.ResponseWriterContentHandler.
calling javax.xml.parsers.DocumentBuilderFactory.newInstance() at least once for every page request.
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.1.0
- 5.1.1
- RichFaces
- 3.3.1.SP1
- 3.3.1.SP2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.