• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem at RMI ??  RSS feed

Leo Tien
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!