Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts

Saturday, February 13

RPC Sample code in Java

Hello friends, In this post we will see how RPC (Remote Procedure Call) mechanism can be implemented in Java. RMI (Remote Method Invocation)  is the special mechanism to do  RPC in Java. RMI is the java flavor of RPC in other languages, but core concept is still same! The main Idea is summarized as below:  In this example, we make a server (RMIServer.java) to receive input text from client application and replies how many characters it received. Server Side: Create a remote interface. (myInterface.java) Create a separate java file to implement the remote interface. (RMIServer.java) Register...

Sunday, January 11

INTERNET SECURITY : Networking Lecture Notes

TOPIC: INTERNET SECURITY What is IPSec? IPSecurity (IPSec) is a collection of protocols designed to provide security at the network layer. Transport mode:  The IPSec header and trailer are added to the information  corning from the transport layer. The IP header is added later. Tunnel mode: It takes an IP packet, including the header, applies IPSec security methods to the entire packet, and then adds a new IP header . What are the protocols associated with IPSec? Authentication Header (AH): provides source authentication and data integrity. The protocol uses a hash function and a symmetric key to create a message digest; Encapsulating...