3 Replies Latest reply on May 15, 2002 3:30 AM by jgremmen

    EJB able get OutputStream ?

    gordonlch

      Hi all,

      I want to ask a question , at EJB, is that possible getOutputStream?

      That is a have a ejb, one of method , it could create a stream(file) , that like this:
      -----------------------------------------------
      public void getOutputSteam(OutputSteam output) throws RemoteException;

      at my client side , it call like this:
      ----------------------------------------------------
      ...lookup... create ejb...
      java.io.ByteArrayOutputStream _os = new java.io.ByteArrayOutputStream();
      EJB.getOutputSteam(_os); ....
      ------------------------------------------------------------
      Is that possible ?

      I don't know why, when client call "EJB.getOutputStream(_os)", it raise a (message : null) exception.

      Please help.

      Gordon