–Using
Sockets
•Design
the distributed application using Sockets over TCP/IP coding
with java.net.*
•Communication
through application-level protocol
–Data
Streams
–Object
through Serialization
–Using
RMI
•Support
for RPC (Remote Procedure Call) between client and server
•Communication
of objects over the network through serialization.
•Integrates
distributed object model into Java in a natural way. (Library mostly
java.rmi.*)
–Object
Serialization
•Save
objects to disk and read them later (checkpointing)
•Send
Objects over the network using Sockets
•Every
object that needs to be Serialized needs to implement java.io.Serializable
•This
interface has no methods!
•Primarily
a way to inform the JVM that you want a certain Object to be
serialized.
•SignedObjects
that encapsulate the data, a digital signature, and a PublicKey
댓글 없음:
댓글 쓰기