I had a week to implement a concept concept for an integration gateway from one system to another.
I started by programming CommandExecutionService, which execute several complex Commands in pararell via ThreadExecutionService.
Then I made some example commands, for example, wait 10 seconds or print a random number.
And today I realized: integration is as simple as parsing the result set and sending some messages to the queue, as well as getting some messages from the queue and creating an sql update from it. And it still deploys to WAS.
So now I am sitting here with 30 classes full of code to do something with 200 lines ...
Next time I will crack it in Perl.
source share