You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/28 21:55:32 UTC

[jira] [Resolved] (AXIS2-4524) Caching BeanInfo in adb module's BeanUtil improves performance

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

Andreas Veithen resolved AXIS2-4524.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
                   1.6.2
    
> Caching BeanInfo in adb module's BeanUtil improves performance
> --------------------------------------------------------------
>
>                 Key: AXIS2-4524
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4524
>             Project: Axis2
>          Issue Type: Improvement
>          Components: adb
>    Affects Versions: 1.5
>            Reporter: Valgeir Halldórsson
>            Assignee: Andreas Veithen
>             Fix For: 1.6.2, 1.7.0
>
>         Attachments: BeanUtil.diff, axis2.diff
>
>
> I've detected that org.apache.axis2.databinding.utils.BeanUtil class can be improved for performance. It seems that invoking Introspector.getBeanInfo(Class,  Class) takes a lot of time. By caching java.beans.BeanInfo in this class it doubles up (at least) the performance, especially when returning a big dataset. I changed this myself and saw a great deal of performance improvement. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org