A Visualforce page needs to make a callout to get billing information and tax information from two different REST endpoints. The information needs to be
displayed to the user at the same time and the return value of the billing information contains the input for the tax information callout. Each endpoint might take up to two minutes to process.
How should a developer implement the callouts?
Using Continuation for both callouts is the optimal solution when you have long-running callouts in a Visualforce page, as it allows the page to wait for a long-running process without tying up server resources. The Continuation pattern is specifically designed for scenarios where the request-response cycle could exceed the timeout limits. Reference: Visualforce Developer Guide -- Continuations
Miss
2 months agoLindsey
2 months agoLuisa
3 months agoEarleen
3 months agoAlaine
3 months agoMari
3 months agoDierdre
4 months agoMelita
4 months agoJacquelyne
4 months agoYaeko
4 months agoFausto
4 months agoMariann
5 months agoJulian
5 months agoLeanna
7 months agoWilford
5 months agoWade
5 months agoArlene
7 months agoCarolann
5 months agoJesusa
6 months agoJoanna
7 months agoCasie
7 months agoDick
7 months agoErin
7 months agoWeldon
7 months agoMicah
7 months agoKanisha
8 months agoHeidy
8 months ago