[java] Strings and RMI?

Started by
1 comment, last by TreizeSG 20 years, 8 months ago
*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...
Advertisement
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.
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...

This topic is closed to new replies.

Advertisement