If String array will be retruned, it would be serialization object. isn't it? because String is serialization object.
Hi,
it is important to understand that just because an object implements the java.io.Serializable interface, does NOT necessarily mean that "serialization" will ALWAYS occur. It just means that the object, say like a String or a custom made value object, CAN be serialized/deserialized.
When everything is happening locally, in a single VM, as is the case when you run the application in standalone mode, when no RMI stuff is happening what so ever, then obviously there is no need to "serialize" (send over the network) anything at all. The fact that the objects you are using as parameters and return values implement the java.io.Serializable interface is irrelevant in this case.
I hope this clears things up.
Regards,
Ronald Wouters