US 11,778,045 B2
Communication system for micro-frontends of a web application
Alexandre Porcelli Bakos, Westford, MA (US); Tiago Fernandes, Campinas (BR); and Eder Ignatowicz, Cambridge, MA (US)
Assigned to Red Hat, Inc., Raleigh, NC (US)
Filed by RED HAT, INC., Raleigh, NC (US)
Filed on Jul. 12, 2021, as Appl. No. 17/372,783.
Prior Publication US 2023/0009811 A1, Jan. 12, 2023
Int. Cl. G06F 15/16 (2006.01); H04L 67/147 (2022.01); H04L 67/02 (2022.01); H04L 67/51 (2022.01)
CPC H04L 67/147 (2013.01) [H04L 67/02 (2013.01); H04L 67/51 (2022.05)] 20 Claims
OG exemplary drawing
 
1. A non-transitory computer-readable medium comprising program code for a first message handler executable in a browser window, the first message handler being configured to:
receive a request for data from a requestor, wherein the requestor is a wrapper application and the data is to be provided by a micro-frontend, the wrapper application and the micro-frontend being executable in the browser window;
generate a request message based on the request, the request message including a unique identifier of the request;
transmit the request message via a communication channel to a second message handler associated with the micro-frontend;
receive a response message from the second message handler via the communication channel, wherein the response message includes the data and the unique identifier, the second message handler being configured to generate the response message based on the data from the micro-frontend; and
based on the unique identifier in the response message, provide the data to the wrapper application in a response to the request.