I am relatively new to java. I am writing a client server application. The client requests an article from the server, the server retrieves it and sends it to the client. That part all works fine. However i want to be able to add new articles to the server and then update the client accordingly without recompiling the whole thing, i.e i want the client to automatically update and provide the option to view the new article that has been added to the server. Can anyone help me please?
So your problem is that the client doesn't know about articles which have recently been added to the server? Then have it ask the server every couple of hours (or minutes or seconds) whether there are any new articles.