You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2007/02/14 00:52:05 UTC

[jira] Created: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Improve the performance of TypeHelperImpl.getType(Class)
--------------------------------------------------------

                 Key: TUSCANY-1110
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SDO Implementation
    Affects Versions: Java-SDO-Mx
            Reporter: Raymond Feng
             Fix For: Java-SDO-Mx


In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:

//TODO more efficient implementation ... this is a really bad one!

Do you plan to provide a more efficient impl :-)?

Thanks,
Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1110:
------------------------------------

    Fix Version/s:     (was: Java-SDO-Next)
                   Java-SDO-1.0

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1110.patch
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512856 ] 

Raymond Feng commented on TUSCANY-1110:
---------------------------------------

Is there any plan to fix this before the SDO 1.0 release? It will have a big impact on the SDO Databinding for SCA.

Please see more discussions on http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200702.mbox/%3C00c401c75796$c0afdc10$0300a8c0@rfengt60p%3E.

Thanks,
Raymond

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Next
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Fuhwei Lwo (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fuhwei Lwo updated TUSCANY-1110:
--------------------------------

    Attachment: 1110.patch

This patch was created around the design concept from Ron by using the getStaticType() method to detect a SDO type. This patch would also address the TUSCANY-1436 by returning null if a Java class doesn't have the getStaticType() method.

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Next
>
>         Attachments: 1110.patch
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472932 ] 

Yang ZHONG commented on TUSCANY-1110:
-------------------------------------

I'm prototyping a different implementation/algorithm:
    extend setInstanceClass/setInstanceClassName to map from class to Type

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Mx
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472959 ] 

Yang ZHONG commented on TUSCANY-1110:
-------------------------------------

SDO 2.1 specifies JDK level as 1.4, not sure we can generate interface with annotation.
However, we probably can generate a method similar to:
    String[/*NameSpace,localName*/] sdoTypeName();

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Mx
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson resolved TUSCANY-1110.
-------------------------------------

    Resolution: Fixed

2nd patch applied to trunk and branch

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>            Assignee: Kelvin Goodson
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1110.patch, 1110.patch2
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson resolved TUSCANY-1110.
-------------------------------------

    Resolution: Fixed

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Next
>
>         Attachments: 1110.patch
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Reopened: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson reopened TUSCANY-1110:
-------------------------------------


> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1110.patch, 1110.patch2
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Fuhwei Lwo (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fuhwei Lwo updated TUSCANY-1110:
--------------------------------

    Attachment: 1110.patch2

Frank, you are right that I should have used the class loader of the interfaceClass to load the impl class. Since 1110.patch has been applied, I created 1110.patch2 to fix this classloader issue. Thanks.

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1110.patch, 1110.patch2
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472954 ] 

Yang ZHONG commented on TUSCANY-1110:
-------------------------------------

One of the possible ways to get around the scope/HelperContext issue, is to use QName, like the SDO 3 annotation, and leave the QName scope/HelperContext interpretation to TypeHlper/DataFactory.

So the setInstanceClassName approach can be adjusted as:
    static Map<String,Collection<String[]>> class2Types; 
    public void ClassImpl/DataTypeImpl#setInstanceClassName(String instanceClassName) 
    { 
        super.setInstanceClassName( instanceClassName); 
        class2Types.get( instanceClassName).add( new String[]{ getURI(), getName()}); 
    } 
    Type TypeHelperImpl#getType(Class c)
    {
        String[] qName = class2Types.get( c.getName()).iterator().next();
        return getType( qName[0], qName[1]);
    }

And the CodeGen approach can be adjusted as:
    step 3) ... generate a static method that returns the type *QName*... 
    Type TypeHelperImpl#getType(Class c)
    {
        Method method = ...
        String[] qName = method.invoke(null,null);
        return getType( qName[0], qName[1]);
    }

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Mx
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472943 ] 

Frank Budinsky commented on TUSCANY-1110:
-----------------------------------------

Yang, can you explain more about your idea?

I also have a couple of ideas for how to speed up TypeHelper.getType(Class):

1) when we move a Java5 dependency, we should generate an annotation in the interface, which we could use at runtime to find the Type. The exact format of the annotation depends on an SDO 3 feature to support Java metadata annotations, which the SDO collaboration is currently considering.
2) before Java5, we could possibly do something like this:
      step 1) determine the class name from the provided Class.
      step 2) mangle the name to determine the impl class name (e.g., org.example.Foo -> org.example.impl.FooImpl)
      step 3) create an instance and then call getType() - or better yet, we could change the generator pattern to generate a static method that returns the type - and then call it.

I'm sure there are also other possible ways to do this, but the question is what's the priority for this? Does anyone know if the current performance of this method is a concern that needs immediate attention?

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Mx
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513250 ] 

Frank Budinsky commented on TUSCANY-1110:
-----------------------------------------

I don't think this looks right:

                    sdoTypeImplClass = Class.forName(sdoTypeImplClassName);

Doesn't it need to use the ClassLoader of the interfaceClass to do this?

Frank.

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1110.patch
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Ron Gavlin (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512939 ] 

Ron Gavlin commented on TUSCANY-1110:
-------------------------------------

Now that all generated classes include the getStaticType() method, it seems pretty straightforward to implement the enhancement Frank suggested above:

step 1) determine the class name from the provided Class.
step 2) mangle the name to determine the impl class name (e.g., org.example.Foo -> org.example.impl.FooImpl)
step 3) create an instance and then return instance.getStaticType()

- Ron

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Next
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472950 ] 

Yang ZHONG commented on TUSCANY-1110:
-------------------------------------

We probably can add this into ClassImpl/DataTypeImpl:

    static Map<String,Collection<Type>> class2Types;
    public void setInstanceClassName(String instanceClassName)
    {
        super.setInstanceClassName( instanceClassName);
        class2Types.get( instanceClassName).add( this);
    }

and implement TypeHelperImpl#getType(Class c) similar to:

    class2Types.get( c.getName()).iterator().next()

Things to consider (including your approach):
    scope/HelperContext
    what else?

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Raymond Feng
>             Fix For: Java-SDO-Mx
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson reassigned TUSCANY-1110:
---------------------------------------

    Assignee: Kelvin Goodson

> Improve the performance of TypeHelperImpl.getType(Class)
> --------------------------------------------------------
>
>                 Key: TUSCANY-1110
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1110
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Raymond Feng
>            Assignee: Kelvin Goodson
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1110.patch, 1110.patch2
>
>
> In the SDO databinding for SCA, we need to introspect a java class/interface to figure out the corresponding SDO type. Looking into the code, there is a TODO comment:
> //TODO more efficient implementation ... this is a really bad one!
> Do you plan to provide a more efficient impl :-)?
> Thanks,
> Raymond

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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