question about socket and information hiding

Hi,

I read the article Advanced Socket Programming ( http://java.sun.com/developer/technicalArticles/ALT/sockets/ )

there is something that I doesn't understand very well, this:

" ......This breaks information hiding and force tight coupling. A solution to this problem would be to write an interface that extends the Serializable interface and then have the SerializedObject class in Code Sample 8 implement the new interface. Using this technique, you only need to provide copies of the interface to the client and server, but not implementation. "

Can anyone explain it in a more easy way? with a example or so?

Message was edited by:

taisao003

[693 byte] By [taisao003a] at [2007-10-3 10:38:29]
# 1
In a non-private environment, you can provide certain code over a connection so the client has a copy of what a server has, and without giving the needed details, you can cover for security break down - however, any common decomplier could figure out how it is to be implemented.
watertownjordana at 2007-7-15 6:02:29 > top of Java-index,Java Essentials,New To Java...