2 Replies Latest reply on Jul 2, 2007 2:01 PM by Moshe Immerman

    SessionBeans and Files/Inputstream

    Moshe Immerman Newbie

      What would be the most efficient way of passing files to session beans that could reside on other nodes in a cluster. i.e. a file is uploaded to machine A which needs to pass it to a session bean on machine B for processing. Keeping in mind that the files could get quite large and passing byte arrays doesn't seem to be an efficient use of memory. Will a FileInputStream created on Machine A work on Machine B or is the same thing as passing a byte array?