Author: Shahrukh Zarir Credits to https://github.com/venishjoe/utilities/blob/master/src/java/RegistrationAppSerialGenerationReversal.java This resource provided me the algorithm for Generating an App Key
Purpose: Practice Client Server Interactions
- Client.java
- KeyGen.java --> (Remote interface)
- KeyGenImpl.java
- KeyServer.java
-
Navigate to the project folder from command prompt
-
javac *.java
-
Run server: Copy and paste the following command: java -Djava.security.policy=policy.txt KeyServer
-
Open another terminal and run the client program as following: java -Djava.security.policy=policy.txt Client