Jofer Chan

Ranch Hand
+ Follow
since Sep 09, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jofer Chan

hi,Nicholas :
thank you.
I modify follow:

it registry ok,
but lookup occur exception:
Unknown host: rmi://127.0.0.1:2010; nested exception is:
java.net.UnknownHostException: rmi://127.0.0.1:2010
get me a help.
Hi,everyone:
I use the codes follow:
Client:

Server:

when ip="127.0.0.1",is OK;
when ip="my host name",it throws not found exception.
how to use both ip and hostname for lookup the remote object?
can I use above codes for assignment with Submissions?
hi,Philippe :
thanks.
Does need to update the "size" field when booking?
hi,Nathaniel:
thank you.
I am a little clumsiness.
Hi,everyone:
my assignment is B&S Version 2.2.2,the file is describe follow:

what is the name of the single JAR file?
Hi,everyone:
I'm sorry my english.
A record contain 7 fields(delete Flag,name,location,specialties,size,rate,owner);
when a record update,the owner field updated,
does the other fields need to update?
Hi,everyone:
the createRecord define follow:

does the array data contain field's value(name,location,specialties,size,rate,owner)?
how to throw DuplicateKeyException with the method?
Hi,everyone:
in server,
the GUI provide two TextFields,
one is port TextField,

when portTextField's value is not the default port(not 1099),
then throw Exception.
but portTextField's value is default port(is 1099),
then does not throw Exception.
why?
Hi,Ken :
I'm sorry,I still understand.
A record contain 7 fields(delete Flag,name,location,specialties,size,rate,owner);
when a record update,the owner field updated,
does the other fields need to update?
Hi,everyone:
when a record update,
which are fields need to update?
Hi,everyone:
Sorry my english.
in Server,
I use the Start Button to implement start rmi,
Stop Button to implement stop rmi,
when rmi is started,
how does to control the rmi Stop?
Hi,everyone:
use the create(String[] data) to create a new record,
every field have itself length(32,64,6,8,8) in the record ,
but the user data's length be likely to less than the field's length(32,64,6,8,8),
Example:
the name field's length is 32 in the db file ,
the new record's name filed's length is 5(example:"Jofer"),
how does the new record's name write into the db file?
Does append the 27 blanks to the "Jofer" with the "for" statement?
Hi,Nicholas:
thank you,
it's great!
Hi,everyone:
sorry my English.
I booked a record in client,
this record is updated succeed,
does need to update the data in the JTable?
Hi,everyone:
in my Introduction,explain follow:
2 byte flag. 00 implies valid record, 0x8000 implies deleted record
in the Data,the delete() to write 2 byte flag for delete a record ,
but 0x8000 is int,is 5 byte,can't to write the db file,
how to implement the delete function?