1 Reply Latest reply on Feb 12, 2008 11:56 PM by dimitris

    Array as param type when invoking an MBean

    abondi

      Hello everybody,
      I need to transfer a file using a byte array. How can I do this?

      I mean, the MBean has a method:

      public boolean fileUpload(byte[] bytes, String filename);


      And I want to invoke this using:

      boolean uploaded = (Boolean)(server.invoke(client, "fileUpload", params, sign));


      Where params is a {byte[]}, how do I fill sign[]?

      Thank you!
      Andrea