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 "Hudson (JIRA)" <ji...@apache.org> on 2011/09/07 14:54:10 UTC
[jira] [Commented] (AXIS2-5119) ComplexType array return
performance issue
[ https://issues.apache.org/jira/browse/AXIS2-5119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098900#comment-13098900 ]
Hudson commented on AXIS2-5119:
-------------------------------
Integrated in Axis2 #978 (See [https://builds.apache.org/job/Axis2/978/])
AXIS2-4524 / AXIS2-4878 / AXIS2-5118 / AXIS2-5119: Initial implementation of a BeanInfo cache to speed up POJO services.
veithen :
Files :
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
* /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/classloader/BeanInfoCache.java
* /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/classloader/BeanInfoCachingClassLoader.java
* /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/DeploymentClassLoader.java
> ComplexType array return performance issue
> ------------------------------------------
>
> Key: AXIS2-5119
> URL: https://issues.apache.org/jira/browse/AXIS2-5119
> Project: Axis2
> Issue Type: Improvement
> Components: adb
> Affects Versions: 1.6.0
> Environment: Ubuntu 10.04 64-bit, Tomcat 6.0.28, Axis 1.6.0
> Reporter: Vilnis Termanis
> Labels: adb, array, arrays, complextype, performance
> Attachments: BeanUtil.java
>
>
> Service function returns which contain (long) arrays of custom objects degrade performance.
> Example (POJO):
> SomeCustomType[] myFunc() is a lot slower than String[] myFunc()
> Reason:
> BeanUtil.getBeanInfo() (modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java) is called for each element in the output array, even though they are all the same. (According to http://download.oracle.com/javase/6/docs/api/java/beans/BeanInfo.html the result should be cached but this does not seem to be happening.)
--
This message is automatically generated by JIRA.
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