• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Update Event

 
raghu mrvreddy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam having a file where one java program updates the file and the other java program will be invoked when this file is updated.

Is there an event that can be thrown when a file is updated?

Thanks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

No, there's nothing in Java that can do this directly. However, there are many ways two programs can communicate with one another (email, JMS, sockets, etc.). Maybe that's a possibility in your case?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!