Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About client server tech

 
Kapil Keskar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rajpreet Bajwa
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
Shriram Shivakumar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic