ours is a big web app which uses jasper reports. I have written a scheduler that generates reports in pdf format, stores it to a file server, indexes it using lucene framework. From the web application the end-user searches for the report and if found he prints it. All i need to do now is search the index present in the remote file server. the search returns an array for files found with its paths. il read the file using the path and send data to the browser. I got this working if it got to be in local file system. how about a remote file server which has access credentials? are there any frameworks apis specially developed for remote file access? i haven't tried with the regular File class.
What kind of access is provided by the remote server - SMB? If so, try the jCIFS library. If the client JVM runs on Windows then even that may not be necessary - java.io.File will do.
Thanks for your reply Mr. Dittmer. The remote server supports SAMBA. The system from which i connect remote, that is the WAS, is running RHEL. In production WAS runs on AIX.