• 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
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

File tracking system java application

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

Our client currently has a system where files (lots of them) are transferred between servers and other external interfaces. A file goes through a lot of locations before it reaches its final destination. The only indication that these files were transferred are acknowledgement receipts sent in email. So per stage, an email is sent. The thing is, oftentimes the mail server experiences network problems to the emails aren't sent. Even if they are sent, it would really be hard for us to track the current location or status of files, we have to dig up our emails and get hold of the admins which receive these emails and let them look or it. If ever a file doesn't each its final destination, it really takes a lot of time trying to find which stage it got stuck.

What would be a better way to track these files? I'm thinking a java app which checks contents of each folder at specific time intervals and from there a files could be tracked. Would that be enough or would every file transfer action be needed to log in the database?

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

Andres Delrotti wrote:What would be a better way to track these files? I'm thinking a java app which checks contents of each folder at specific time intervals and from there a files could be tracked. Would that be enough or would every file transfer action be needed to log in the database?


Why not a message queue instead of email, and fire off text messages containing the data to the queue instead? You could include time stamp, source/target locations, etc. and keep a persisted record of the trail even in the queue.

JMS seems ready made for something like that. There are several good standalone implementations out there like ActiveMQ, Fiorano or even OpenMQ.

In fact you have metadata headers with JMS that could make your searches much stronger. Then you could also persist to a DBMS and have the data for a full reporting system.

Just an idea. I just happen to like JMS. :-D
 
Warning! Way too comfortable! Do not sit! Try reading this tiny ad instead:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic