> OK, just to see if I'm doing this all right. In order to get my client to
> work I had to copy over (to the client machine):
> 1. The Jonas<bean>Home_Stub.class
> 2. The Jonas<bean>Remote_Stub.class
> 3. The CabinRemote.class
> 4. The CabinHome.class
> 5. The CabinPK.class    (This is the class for a Cabin Primary Key)

The PK class is only needed if you are using it on the client.

> Does this sound correct? It sounds like an awful lot to have to worry
about
> getting to the client, and some seems redundant. but as I said, I'm new to
> RMI.

Well, for a beginner it's quite hard to believe, but yes, you need it, and
it is not redundant:
- The stubs are needed since the client uses it to communicate to the
server.
- The interfaces are needed since the client uses it directly.
- The PK class is only needed if your client uses it directly.

What do you think is redundant?

HTH
Markus

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to