[java] Strings and RMI?
*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...
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement