• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can web service do this kind thing that currently done by UNIX script ?s

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are a publication firm. We have an application that downloads some text or other files from a machine and our job is to run some script on these files, make some edition, then publish the modified files to other machines.
The whole process is done by unix script. I am wondering if this can be done by J2EE web service and how ? Here are my specific questions ---

1. Without knowing much about web service (since I am not even a rookie yet), I assume (maybe I am wrong) web service is something to be used for public purpose. However, in our case we restrict the script to be handled very internally inside firewall. So, does web serive help us in this case ?

2. Is there any advantage to change the backend Unix script to J2EE web service ?

3. If you could outline a rough approach sketch, that will be greatly helpful ! (I mean, just a few sentences is enough)

thanks,
steve
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I assume you're currently implementing the "download" with FTP or something similar that doesn't involve any processing before delivering the file over the wire? If that's the case, I'd prefer sticking to whatever you've got. Web services are good for implementing services and I wouldn't call a simple file download a service.

Anyway, if you decide to replace your current download mechanism with a web service, you can apply the same firewall rules for preventing external access as before. Web service requests (usually HTTP POST requests) go over the wire just like FTP connections...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic