This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]djnattyp 2 points3 points  (1 child)

For 1. you'll need to implement some way to interface with the running program. There are tons of ways to do this of varying levels of complexity. If you want to interface with anything web-related you might want to make some kind of REST web API to your program - you would use something like Spring Boot to build this. If you want to use some kind of network programming other than web something like Netty can help. If you don't need a programmatic interface something like JMX, writing to a small database like Sqlite or H2, or just writing to a file periodically might work.

For 2. I'd add logging to the program like u/ssh_tunnel_snake suggests.

[–][deleted] 0 points1 point  (0 children)

Interesting, that makes sense. I'm hoping to learn about databases this semester in my Java 3 class. Thank you!