On Dec 1, 2008, at 10:58 AM, Gili wrote:
> Paul Sandoz (via Nabble) wrote:
> >> To put things in perspective, my application was spending 10x
> more time in
> >> Client.create() than retrieving data from the server. It was that
> bad :) I
> >> was creating one instance per resource instance.
> >
> > Having a clone operation might be useful. Also if using the Client
> on
> > the server side then it should be possible to share some state.
>
> For my purposes it wouldn't help much. I only use Client on
> the client
> end and there I create a single instance and share it across the
> entire
> application. clone() wouldn't help because I'd rather just reuse the
> original instance... I am assuming it is thread-safe...? If not, I
> am in
> deep doo doo ;)
>
Tis ok it is safe.
Paul.