posted 19 years ago
I use RMI on my netwrok layer and use RecordAccessRemoteImpl as remote object, it have some logic method such as book, search.
I use RecordInfo interface as one record and FieldInfo interface as one field of record. In 'alone' model and 'server' model I have RecordInfoLocalImpl and RecordInfoRemoteImpl implements RecordInfo, same as FieldInfo. In 'alone' model, it work correctly, but in network model my application catch this exception:
My RecordAccessRemoteImpl class like this:
My RecordInfoRemoteImpl and FieldInfoRemoteImpl is server side object and implements Serializable, it will trans to client and display in client GUI.
Why catch this exception and my idea right?
Please help me, thanks first.