• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Remote file access from the web application

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear all,

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.

Thanks

V
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
az ziz
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

thanks
V
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic