1 Reply Latest reply on Sep 24, 2004 9:54 AM by darranl

    FileInputStream to Server

    hannesbacke

      Hi,
      I have a test client for a deployed Module on my JBOSS Server.
      In this client, I read a file with FileInputStream and want to send
      the stream to my Server (to the SessionBean). Does anyone know
      how to do that?
      Thx,
      Hannes

        • 1. Re: FileInputStream to Server
          darranl

          The class java.io.FileInputStream is not a valid RMI_IIOP type so can not be passed to the session bean using the remote interface.

          Your client would have to read the data from the stream and convert it into some type that can be passed across the remote interface.