Java Web file upload with multi-task division based on asynchronous file channel
CHEN Gang;XIA Huosong;School of Management,Wuhan Textile University;
According to the low efficiency of present processing technologies,an asynchronous file channel was combined with a thread pool,a file upload processing architecture was designed through data block and implementations of asynchronous read and write processing,and key techniques was discussed,based on synchronous block processing mode and Java byte streams to read and write data operation. The actual test results show that this solution has very obvious efficiency advantages,compared with conventional solution. The achievements provide a good application reference for Java Web system developments.