Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 74
  • Last Modified:

Java listener issue

Hi,

I have a program that cannot be stopped due to business requirements. However, the program needs to reload some dictionaries if they are updated. I am thinking of using Redis to communicate between the program and the application which modify the dictionaries.

However, except for redis, what else can I do? Can I use a listener within the program to monitor whether the dictionaries are modified? If so, how to program the listener.

My program runs as a command process under Linux, and the application that modifies the dictionaries is a Java servlet.

Thanks alot.
0
wsyy
Asked:
wsyy
  • 3
1 Solution
 
CEHJCommented:
If they are file-based, you can use a directory/file monitor
0
 
wsyyAuthor Commented:
They are. How can I do so?
0
 
CEHJCommented:
:)
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now