Welcome to CodeRanch!
I wouldn't use
Java for that. You'd need to be monitoring the ports and files and the like. Before asking random people on the internet, what have you read on the topic so far? Surely, you have read something before posting hear - even wikipedia. Also, what programming language do you know. You say you aren't familiar with programming. You are going to need to learn a language before being able to attempt this project.