Dienstag, 6. Januar 2009

JAVA networking

TCP-Socket

java.net.Socket
java.net.ServerSocket

Socket.getInputStream() Socket.getOutputStream()


UDP-Socket

java.net.DatagramSocket
java.net.DatagramPacket

send(), receive()


RMI Remote Method Invocation

java.rmi.Remote
java.rmi.server.UnicastRemoteObject

rmic rmi-compiler -> Stub and Skeletonclass

class S as server, implement interface SI, SI has the bussineslogic,
rmi build from it the correct in/output for data


JMS Java Messaging Service

(middleware) asynchrone communication
Queue (point2point), Topic(publish/subscriber)


SOAP simple object access protocol

inter-object-communication (most http as protocol)
XML, textoriented

Keine Kommentare:

Kommentar veröffentlichen