Hello guys WE are trying clients server techno. using SWING. in Doing entries. Can any body tell me that how to get back the all errors from server's side to clients, so that they can know about the status of entry. currently i have designed it in way that it will throw errors on serverside. Can you help me out? Thanks
Hi!, I am writing in for the firsat time and hope to get the book ...I am being greedy ! Anyway , Distributes Java : communication b/w applications running on different machine s ! e.g client server architecture !
Well, there are many ways to pass error information from the server side to the client. The simplest way, if you just want to show what the error will be to a textual description of the error, say using toString() method and pass them back to the client as a string. Then ofcourse, you can put a display field in your GUI to display the error.