Depending upon what operations your webhook doing, you need to a design a singleton controller for all incoming Heretto requests (a filter class would be best, but you can opt servlet as well). Now coming to the communication contract- your webhook may need a context identifier say request id which ...