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

Romain Manni-Bucau resolved TOMEE-143.
--------------------------------------
    Resolution: Fixed

first pass done, we'll open another issue if we need it

> JAXB Performance boost via saving generated accessors
> -----------------------------------------------------
>
>                 Key: TOMEE-143
>                 URL: https://issues.apache.org/jira/browse/TOMEE-143
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: David Blevins
>            Assignee: Jonathan Gallimore
>
> The JAXB RI itself will use reflection to generate accessor classes.  We use 
> JAXB for reading all descriptors.  The result is a below 1 second startup is 
> impossible unless JAXB can be optimized:
> This call alone takes over 1 second:
>         JAXBContextFactory.newInstance(
>                 Application.class,
>                 ApplicationClient.class,
>                 Beans.class,
>                 Connector.class,
>                 EjbJar.class,
>                 FacesConfig.class,
>                 HandlerChains.class,
>                 JavaWsdlMapping.class,
>                 Persistence.class,
>                 TldTaglib.class,
>                 WebApp.class,
>                 WebFragment.class,
>                 Webservices.class,
>                 ValidationConfigType.class,
>                 EntityMappings.class,
>                 OpenejbJar.class,
>                 org.apache.openejb.jee.jpa.unit.Persistence.class,
>                 PersistenceFragment.class
>         );
> Simply saving the generated JAXB classes maybe be the way to avoid this 
> reflection overhead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to