–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
오라클자바커뮤니티에서
설립한 개발자실무교육6년차 오엔제이프로그래밍 실무교육센터
(신입사원채용무료교육, 오라클, SQL, 튜닝, 자바, 스프링, Ajax, jQuery, 안드로이드, 아이폰, 닷넷, C#,
ASP.Net) www.onjprogramming.co.kr
–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
댓글 없음:
댓글 쓰기