Annotation Interface Data
Designates a remote method which is just data, which is serialized whenever the remote
object is transported over the session. Data methods cannot have any parameters, and they
cannot have any other annotations except
@Serialized
.
If a remote object is returned by a @Batched
method, then all of its data
methods will throw DataUnavailableException
. This limitation might be fixed in a
future version.