On Tue, Oct 7, 2008 at 12:59 PM, Marina Deslaugiers <
[EMAIL PROTECTED]> wrote:
> Hi,
> I am currently dvelopping a demo using Tuscany 1.1 incubating. In the
> prototype we use an (non SCA, remote) external (graphical) client that
> connects to a SCA component using RMI naming.lookup (binding.rmi in the
> composite file) then we invoke two successive operations on the retrieved
> interface.
> We run up against a problem: the (component) implementation instance is
> different for each of the operation invocation consequently we loose
> variables initialization made in the first operation invocation resulting in
> immediate execution exception.
> Is there any way (configuration, customizing or other) to save the state
> say, save / retrieve the first implementation instance created that we need
> ?
>
> *Regards,*
> **
> *Marina Deslaugiers*
> *
> *
>
> Hi Marina
Is there some kind of session going on or are you happy with having a single
component instance for all requests. If the latter you could set the scope
of your component to be composite - @Scope("COMPOSITE").
Simon