Menu ▾ ▴

#12 CAS serialization is not documented

open
nobody
None
5
2014-08-17
2006-10-11
No

Class com.ibm.uima.cas.impl.Serialization is not
documented in the JavaDoc.

Since class CAS doesn't implement Serializable,
Serialization is the only way to (efficiently)
transport a CAS Java process to Java process (via RMI
or Jini).

Also, Serialization seems to be missing a method.
There is a "CASSerializer serializeCAS(CAS)" method
but no way to deserialize it. There is a pair that
works on Streams, but there is no "void
deserializeCAS(CAS, CASSerializer)" method.

Secondly, the method serializeCASComplete() takes a
CASMgr, which is also undocumented. Perhaps this
should be modified to take a CAS instead of a CASMgr?

Discussion


Log in to post a comment.