mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Added example python and java apps for testing
- Java example from @catsby
This commit is contained in:
BIN
client/driver/test-resources/java/demoapp.jar
Normal file
BIN
client/driver/test-resources/java/demoapp.jar
Normal file
Binary file not shown.
12
client/driver/test-resources/java/demoapp.java
Normal file
12
client/driver/test-resources/java/demoapp.java
Normal file
@@ -0,0 +1,12 @@
|
||||
public class Hello {
|
||||
public static void main(String[] args) {
|
||||
while (true) {
|
||||
System.out.println("Hi");
|
||||
try {
|
||||
Thread.sleep(1000); //1000 milliseconds is one second.
|
||||
} catch(InterruptedException ex) {
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user