much of your data may already be stored on nfs servers, and now you can use nfs technology to read or write remote files directly from your java program.
naming files on a network and getting to files with nfs
lets start at the beginning. the nfs protocol has been used for network file access since the advent of lans in the early 1980s. although the protocol is normally associated with unix clients and servers, there are implementations available for almost every computing platform.the nfs protocol is normally built into the operating system on either the client or server side. this leads to solid performance and enables programs to get to remote file systems as if they were local.
to access files on a network server, you need to be able to name the files using a network filename that will identify the file and its server from any computer in the network. we are already familiar with network names in the form of a url. the url connection classes provide url naming to identify web pages.
you dont have to rewrite or recompile programs to use nfs, pl... 下一页