Who understand how Local Interfaces work ?
I'm studying Local Interfaces - I'd like to start
a discussion on this topic.
Local interfaces exist to provide a "local" view
of the bean and to avoid costly remote calls, but how
do I know that it has consistent values ? In other words,
if client access a "local" copy of the Bean, without
communicating with the Container, what do I get ? a cached
copy of the bean at that time ? If so, Local interfaces are
nothing else but a Value Object pattern
The point that I really cannot understand is how can the
Container ensure both a fast client-side Local interface
and database consistency.
Maybe the Container uses behind the scenes some callback
methods in order to keep the Local interface up-todate ?
Thanks in advance
Francesco

