annotate tutorial java chatroom