I am doing a server/client setup and this is the server code. Here is wherethe info is loaded, it comes from the employees.txt:
then here is teh code for writing the collection back to disk in sequence to udpate any changes teh client made.
once the Server is compiled and I run it, the data is then deleted out of my employees.txt. I know i am missing something, i just don't have a clue what it is
BTW here is the all the code for the program:
Jeff Albertson
Ranch Hand
Joined: Sep 16, 2005
Posts: 1780
posted
0
Your writing loop has an empty body:
while(p.hasNext()); //<-- note semicolon
There is no emoticon for what I am feeling!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.