I have a class teleport by using RMI.But I am not sure those thread-safe object can be serialized.Does anyone tried before?
UPDATE
skaffman says yes,But I failed in serialize.
This is the class that ...
/** * Locks a record so that it can only be updated or deleted by this client. * Returned value is a long that is the cookie value that must * be used when the record is unlocked, updated, or deleted. * If the specified record is already locked by a different client, then the * current thread gives up the ...