Java Terminology includes the following common terms –

API(Application Program Interface)

  • An application programming interface (API), in the context of Java, is a collection of pre-written packages, classes, and interfaces with their respective methods, fields, and constructors.
  • An application program interface (API) is a set of routines, protocols, and tools for building software applications.
  • An API specifies how software components should interact. Additionally, APIs are used when programming with graphical user interface (GUI) components.

RPC (Remote Procedure Call)

    • RPC is one of the ways to perform communication between two computers either normally or in the form of chat. It organizes the types of messages that an application can receive in the form of functions.
    • Remote Procedure Call (RPC) is a protocol that one program can use to request a service from a program located in another computer on a network without having to understand the network’s details.
    • RPC uses the client-server model.
    • It is the management of streams of data transmission.
    • The common difference between RPC and RMI is that RPC only supports procedural programming whereas RMI promotes object-oriented programming. RPC supports primitive data types whereas RMI supports method parameters/return types. RMI is easy to program unlike RPC
    • An RPC is analogous to a function call. Like a function call, when an RPC is made, the calling arguments are passed to the remote procedure and the caller waits for a response to be returned from the remote procedure. The client makes a procedure call that sends a request to the server and waits.
    • Remote Procedure Call (RPC) is an inter-process communication that allows calling a function in another process residing in a local or remote machine. RPC supports primitive data types whereas RMI supports method parameters/return types as Java objects. 

Java Terminology includes the above common terms –

Loading

Categories: Java

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.