Lesson 1
Java Stream basics
Module introduction
This module introduces streams, the foundation of input and output in Java.
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.
In this module, you will learn the following:
In this module, you will learn the following:
- What streams are
- Where streams come from
- When you should use streams
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.
