File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes RemoteException 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 "RemoteException" Watch "RemoteException" New topic
Author

RemoteException

Radi Hadzhiyski
Ranch Hand

Joined: Jun 30, 2009
Posts: 47
Hello there,

i have a comic problem:

1. i start the
2. i start the networked client, then book, then everything ok

i use the MVC+Observer, so my client is notified by the model, so after the model has changed (after book for example),
the client makes a new search for all records and updates its table. Everything works but:
When after i have started the server, i change anything in the source (not significant only comments for example), and then
start the client again, i become a RemoteException after i have booked a room.
The comic thing is, that i can do anything (Search, Book and so on), but by the book process, i am enter a customer id
then click OK, then wait (on the server window i see, that the room is booked successful), but on the client i become the
RemoteException (then when i search manually i see that the record is booked).
So something by this notification goes wrong, i think.

i have:

view with method:
model with method:

what could that be?

EDIT: i have already defined the same fixed long serial id for all classes that fulfills the IS-A Serializable

SCJP 1.6 (91%), SCJD
 
wood burning stoves
 
subject: RemoteException