hi,
There is a line of code in the constructor of the Data class [ Data(
String ..)]:
I couldn't find any use of f.exists() except the readability of the code..
am i right ???
Because according to the documentation
of canRead() or canWrite() method, these methods first check the whether the
file existsor not.
So, I'm going to remove f.exists() check..
=================================
My second problem: I've have given an option in my GUI to start/stop the server without exiting
the GUI.
For STOP i have used to unbind my remote dataFactory object from the registry..
this doesn't actually stop the server but only stops listening to new connection.
The already connected clients can still perform search, booking operation after stopping...
I've used the following code to start the server
Is there any code to stop the registry ???.. but this will also not solve my problem..
=====================
Any comment on this will appreciated.
Thanks and regards,
Manish
---------------
-SCJP2