This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, In a networking application, if the Server IP which the MIDlets connect is going to be changed, is there a way that the server can push some data and update the IP? I am thinking of specifying the server IP as a MIDlet attribute? Thanks for your time.
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
I don't think that's possible. First for that we have to think a way to track the phones which are using the application. So only thing which can be done is have it(the IP & etc)in a record store and when ever the application opening check the server for changes and do the changes in the record store.
Thanks for the answers. Well the reason that I want to figure out a way to do this is, that there is a chance that the IP address might change in the future. So I want to have a mechanism where I can update the IP address automatically. I guess using the host name is a viable solution. Many thanks for the answers once again.