This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Im working on Server and Multiclient application.....when server prints any line on client;control is not coming back to server unless client enters any data so how to make control to come back to server so that it can print next statement for client.......
Amruta Jegarkal wrote:This code is working fine,my question is when server sends something to client;until client reply server cannot send anything.....So i want client and sever to be independent in sending message.
In which case, you probably want to look at something like JMS, which supports asynchronous messaging; but I'd make certain you're sure about the rules before you do so. Do you really want your server bashing out messages into the ether if there's no likelihood of them ever being read?