aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Shutdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Shutdown" Watch "Shutdown" New topic
Author

Shutdown

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

You know I was working the other night on the FBN system, and I am working on my last part, the actual booking test. When I tested the booking, and quit the client, the next time I started the client, it gave me an exception.
I saw previous posts regarding the RandomAccessFile class, and the same issues. So it seems to me that when I changed the file, I did not close the file when the client was done, and when I closed the server via CTRL-C.
So what are the possible solutions for shutdown?
I was thinking of making a simple screen pop up when you start the server, that displays the status of the server, and also a button for Shutdown.
Or is there a better solution?
Thanks
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Well, I made the JFrame, and it was quick and simple, and shut's the server down nicely.
Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Shutdown