Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Files processing on server

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • 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: 9612
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • 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?
 
Are you here to take over the surface world? Because this tiny ad will stop you!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!