add java files that use TCP connection