1) prejting doesn't cause objects to reside in memory.
2) it is a singleton, singleton doesn;t guaranty that it resides in memory.
it will only ensure that the constructor gets called only once the object is
instantiated
"Raghavendra T V" <raagzvb@hotmail.com> wrote in message
news:%23%23yDFYEjEHA.3148@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> 1)You can use pre-jiting which will actually precompile and keep the
> object
> ( not sure about this )
> 2)You can use singleton pattern to achieve this (singleton makes sure that
> always an instace of that object is in memory )
>
> Hope this helps you.
>
> Thanks
> Raghavendra
>
> "MR" <nospam raab at biconix dot com> wrote in message
> news:uUVvzvDjEHA.3524@TK2MSFTNGP10.phx.gbl...
>> i have an application that uses enterprise services remote objects. the
>> calls are very fast usually within 50ms. EXCEPT for the first time the
>> object is called or after a long period of inactivity.
>> is there a way to preload all the objects in the host application so that
>> even the first call will be fast (as opposed to over 1 second)?
>> thanks
>> m
>>
>>
>
>