flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffry Houser <jef...@dot-com-it.com>
Subject Re: How many instances of RemoteObject should I create?
Date Tue, 17 Oct 2017 23:19:07 GMT

  I'd probably create one for each request, so that the instance can be 
garbage collected after the transaction and not be kept around in memory.

  However, there are so many factors involved here, it is tough to give 
specific direction.  There is no reason you can't reuse them.


On 10/17/2017 6:01 PM, Jaabax wrote:
> Hello!
>
> I would like to know if I need to create an instance of RemoteObject for
> each request of if I can create just one and reuse it.
>
> I am currently creating a new instance of each and every request my
> application does.
>
> can I reuse RemoteObjects that target the same channel/destination?
>
> and what about multiple requests from different screens to the same
> destination? how to handle it?
>
> thank you in advance
>
>
>
>
> --
> Sent from: http://apache-flex-development.2333347.n4.nabble.com/
>
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/

-- 
Jeffry Houser
Technical Entrepreneur
http://www.jeffryhouser.com
203-379-0773


Mime
View raw message