K
Ken Adams
Ok, I don't think I understand the Command Pattern exactly but. Basically I
was told the best way to send objects in a Client/Server System was to use
ObjectOutputStream and send Command objects which will have an execute
method on them and then when the object is passes just call the exectute
method for that object. The only problem I have, is how to you get a
refrence to an object to invoke inside the execute method since the object
you want to invoke is not locally but on the server accross the network. And
I want to do this using Sockets instead of using RMI for learning purposes.
Any suggestions?
Thanks a bunch
was told the best way to send objects in a Client/Server System was to use
ObjectOutputStream and send Command objects which will have an execute
method on them and then when the object is passes just call the exectute
method for that object. The only problem I have, is how to you get a
refrence to an object to invoke inside the execute method since the object
you want to invoke is not locally but on the server accross the network. And
I want to do this using Sockets instead of using RMI for learning purposes.
Any suggestions?
Thanks a bunch