Hi All:
Sorry i think i posted this question to wrong forum. I am trying with
RMI-USERS forum.
Regards,
Selvi.
-----Original Message-----
From: Ramaraj Kalaiselvi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 11:01 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: How to return the error messages from native method to client
thr ough server using rmi
Hi All:
I have a client gui which invokes the native method through the remote
method in the server. I can get the error messages from the native method to
the server, but i want to display the same to the client. From the forums i
found that there should be the remote method & the client should implement
it and call that method from server. I also did "rmic" for client. But when
i did this i get "Null pointer exception". I am not sure where i am going
wrong. When i just had a simple method in the client which shows up a
JOptionPane and i pass the error string from the server by invoking that
method from the server, it works but the joptionpane dialog comes from
server and not from client. So can someone can help me with this like how
should i call the method in order to show the error messages in the client.
Please let me know if there is any training materials or some links.
Thanks,
Selvi.
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing