• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Files processing on server

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a swing based application which gives an option to the user to browse and select an excel sheet from the local file system. This excel sheet will contain names of various files and their path on the local filesystem.

This excel sheet I am reading using POI. Once the sheet is selected it'll be read using POI and all the files from the local file system (specified in the excel sheet), will be imported into the documetum repository.
There is some DFC code in the Swing application which does this. All this is working fine.

Now, instead of the Swing application I want to do it using web interface. So there'll be a browse button in the JSP page from where user can select the excel sheet. But the problem is that now since the DFC code is in the server (and not on the client as earlier), how to go about it? The excel sheet and the files which need to be imported are on the client while the DFC code which processes it is on the server.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTML/JSP will be a poor match for your requirements. There's no way to do multiple file upload and returning a list of files for the user to upload would be tedious.
Why do you want to use a web interface in the first place? Would an applet or Java Web Start application fit those requirements?
 
What's that smell? Hey, sniff this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic