1 Reply Latest reply on Oct 30, 2003 1:32 PM by wdelia

    J2EE and filehandling

    bentjb

       

      "bentjb" wrote:
      "bentjb" wrote:
      Am I right if I claim that J2EE deny any filehandling I/O activity within the EJB container (Session Beans)?
      If I am right, what is the strategy when you need to do I/O activities. My consern is FTP service handling. I have an old interface based on FTP. Do J2EE exclude FTP? Any idea?


        • 1. Re: J2EE and filehandling
          wdelia

           

          "wdelia" wrote:
          "wdelia" wrote:
          Please check your FTPClient.
          We can use stateless session bean to ftp files by using Jakarta FTPClient and also to generate files to local directory on both Unix and Windows OS.
          Tips:
          Since most I/O object are not Serializable, if you want to pass them as param, you can use byte[] or String (for file name).