Skip to main content
gamedev.net
🔒 Locked

[java] Strings and RMI?

Started by TreizeSG Aug 15, 2003 at 8:23 AM 1 replies 700+ views
Original Post
TreizeSG
TreizeSG
*Looks at Java Forum people who are currently thinking "shit, not him again. will he just go away?"* No. Anyway, I''m having trouble sending Strings over an RMI connection, they''re serializable, right? If I send over "Hi, how are you?" the server translates it as "". Any ideas what is going wrong? Not much else is screwed up...
Project ARPEG: Product, Darkness SeigeThe seige begins...
tortoise
tortoise
Yes, Strings are serializable. If you''re ever in doubt on a class look at its javadoc, it will list if it implements Serializable.

Other than that, code example? Have you tried putting together a tiny program that merely sends Strings via RMI? That often shows you what''s going wrong in your real program.
TreizeSG
TreizeSG
Lol, I fixed it. I was dumb, it had nothing to do with RMI. It just involved a Vector and the concat() method.

Yeah, I got the idea to look at the Javadoc AFTER i posted, i wish we could delete posts...

[edited by - TreizeSG on August 15, 2003 10:30:25 AM]
Project ARPEG: Product, Darkness SeigeThe seige begins...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.