This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Below i've my requirements and the way i'm planning to do this.
Let me know if you think i should not use any of these with a valid reason.
I'm decoupling things to address future concurrency as my servers will be hosted in cloud and i can set autoscaling group to scale the required module as and when required.
I'm getting a webhook json POST and parsing it using REST API call. ---> REST API using jersy
Once i've parsed json objects, i'm calling a 3rd party API and also insert the json as is in mongodb. ---> Same REST program
Then depending on object values, program will insert objects into a Queue(Activemq). ----> Same REST program
Then program will read it from activemq and depending on values it'll mostly SSH to server and do necessary action and inserts transaction details to DB. -----> Thinking of passing it to a servlet from REST API
Program will validate action and then it'll e-mail to appropriate e-mail address and also call 3rd party API. ----> From that servlet
UI for getting JSON data ---> Servlet