A stream can be defined as a sequence of data. The InputStream is
used to read data from a source and the OutputStream is used for writing
data to a destination.Anytime you read data from a file, a
network connection, System.in, or many other sources, you're using streams. Similarly, anytime
you write data to a file, a network connection, or System.out, you will use streams.
The java.io package contains nearly every class you might ever need to perform input and output (I/O) in Java. All these streams represent an input source and an output destination. The stream in the java.io package supports many data such as primitives, Object, localized characters etc.
Java does provide strong, flexible support for I/O as it relates to files and networks but this tutorial covers very basic functionality related to streams and I/O.
The java.io package contains nearly every class you might ever need to perform input and output (I/O) in Java. All these streams represent an input source and an output destination. The stream in the java.io package supports many data such as primitives, Object, localized characters etc.
Java does provide strong, flexible support for I/O as it relates to files and networks but this tutorial covers very basic functionality related to streams and I/O.
JRMP, or Java Remote Method Protocol
is the Java technology-specific protocol for looking up and referencing
remote
objects. It is a wire level protocol running at the level
under Remote Method Invocation (RMI) and over TCP/IP. JRMP is
a Java-specific, stream-based protocol; c.f. RMI-IIOP.
RMI-IIOP which exposes Java objects to CORBA ORBs is an alternative for JRMP. However, many application server vendors have developed their own protocols for use with RMI which claim to offer advantages over both IIOP and JRMP.
RMI-IIOP which exposes Java objects to CORBA ORBs is an alternative for JRMP. However, many application server vendors have developed their own protocols for use with RMI which claim to offer advantages over both IIOP and JRMP.
JRMP is a Java-specific, stream-based protocol similar to RMI-IIOP.
The RMI-IIOP which exposes Java objects to CORBA ORBs is an
alternative to JRMP.
In contrast to the RMI-IIOP, the JRMP is a protocol for
Java-to-Java remote calls, which makes it language dependent and means
that both client
and server must use java objects. However, many application server
vendors have developed their own protocols for use with RMI which claim
to offer advantages over both IIOP and JRMP.
No comments:
Post a Comment