Skip to end of metadata
Go to start of metadata

Java approach

  • Easier to download, parse and process the response from ConfigService.
  • Easier to test the logic
  • Easier to make the wrapper more sophisticated.
  • Perhaps use ScheduledExecutorService to provide cron/schedule functionality instead of relaying on Task scheduler.
  • ProcessBuilder
    • Process management works, but not possible to manage services.

Bat script approach

  • An obscure scripting language.
  • Difficult to write even simple logic and parsing.
  • Need external tools like wget
  • Natural to use Task scheduler instead of embedded scheduler.
  • Difficult to test
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.