From 5160a9622c22463a383271e5b00f7b46d6959bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Wed, 20 Nov 2019 11:43:09 +0100 Subject: Cleanup Client file --- .../pl/edu/mimuw/cloudatlas/client/Client.java | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/client') diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/client/Client.java b/src/main/java/pl/edu/mimuw/cloudatlas/client/Client.java index 5e71754..b63e4fd 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/client/Client.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/client/Client.java @@ -1,32 +1,8 @@ package pl.edu.mimuw.cloudatlas.client; -import org.springframework.context.annotation.Bean; -import pl.edu.mimuw.cloudatlas.api.Api; - -import java.rmi.registry.LocateRegistry; -import java.rmi.RemoteException; -import java.rmi.registry.Registry; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -/** - * Main class for a client. - * - * Set the following properties on the command line: - * - *
- * -Djava.rmi.server.useCodebaseOnly=false - *
- * -Djava.rmi.server.codebase=file:/path/to/compiled/classes/ - *
- * -Djava.security.policy=client.policy - *
- * - * NOTE: MAKE SURE YOU HAVE THE TRAILING / ON THE CODEBASE PATH - */ - -// https://github.com/rm5248/Java-RMI-Example/ - @SpringBootApplication public class Client { public static void main(String[] args) { -- cgit v1.2.3