Terracotta-shared objects live on the local heap like any other  
object.  But, they also live on the server.  If an object hasn't been  
materialized in a particular local heap, then it will automatically  
be pulled from the server.  There's a virtual memory feature which  
will automatically fault in and page out objects so you can have an  
arbitrarily large object graph fit in a constrained local heap size.

The important thing to remember, though, is that the shared objects  
on the local heap are POJOs-- they look, smell, and act just like  
regular objects.

--Orion

On Aug 31, 2007, at 4:40 PM, Prasad Bopardikar wrote:

> Does a Terracotta-shared object live only on the Terracotta server?  
> I mean, do all the Terracotta clients hold a complete copy of a TC- 
> shared object in their memory or do they just hold a pointer to the  
> shared object that resides ONLY on the TC server?
>
> Thanks
>
>
>
> _______________________________________________
> tc-dev mailing list
> [email protected]
> http://lists.terracotta.org/mailman/listinfo/tc-dev

_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to