You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Greg Dritschler (JIRA)" <de...@tuscany.apache.org> on 2008/10/25 23:08:44 UTC

[jira] Commented: (TUSCANY-2635) Pool stateless-scoped Java impl instances

    [ https://issues.apache.org/jira/browse/TUSCANY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642658#action_12642658 ] 

Greg Dritschler commented on TUSCANY-2635:
------------------------------------------

Concerns have been raised on the mailing list regarding pooling component instances, such as when to call the lifecycle methods @Init, @Destroy, whether to reinitialize instance variables, etc.  In order to avoid these issues, an alternative solution to the expense of proxy injection has been found.  I have attached a patch.

> Pool stateless-scoped Java impl instances
> -----------------------------------------
>
>                 Key: TUSCANY-2635
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2635
>             Project: Tuscany
>          Issue Type: Improvement
>            Reporter: Scott Kurz
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>         Attachments: tuscany-2635.patch
>
>
> I'd like to see if we can pool the stateless instances in order to improve performance.  The proxy injection in particular is expensive.  
> Of course, this assumes that, in a general sense, the references backing the proxies are not being setup with any type of context as they are used.     I'm speaking generally since I don't have any specific examples to the contrary...  but if there were such examples it would obviously be the key consideration in deciding how to go forward on this, so I'd be interested to hear.

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