Scott J. Keane wrote:
> Hello,
>
>
>
> I was hoping for help on an application I am trying to design. I'd
> like to know if there is something that I can use that will actually
> pass a data structure from one system to another. For example, if I
> want the file listing of a directory on a remote machine, I may
> implement a tree to represent this listing and then pass the tree to the
> client for it to do its work on. I've tried doing this through an EJB,
> but it tells me that the return type is not of type RMI-IIOP, although
> it is serializable, implements Remote and extends PortableRemoteObject.
Just making it serializable should have done it. Implementing Remote
makes it a server-side object (calls to it would go through RMI), and
for that to work it would have to be an interface (extending Remote).
PortableRemoteObject is a utility class and you should never need to
extend that.
-danch
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user