Meaningless Drivel is fun!
The moose likes Distributed Java and the fly likes About client server tech Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "About client server tech" Watch "About client server tech" New topic

About client server tech

Kapil Keskar
Ranch Hand

Joined: Dec 04, 2001
Posts: 47
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?
Rajpreet Bajwa

Joined: Feb 09, 2002
Posts: 14
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

Joined: Jun 20, 2000
Posts: 42
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.

-Shriram Shivakumar
I agree. Here's the link:
subject: About client server tech
It's not a secret anymore!