QR code (quick-response code) is a type of two-dimensional matrix barcode and can be generated using the Okapi library.
            <dependency>
               <groupId>uk.org.okapibarcode</groupId>
               <artifactId>okapibarcode</artifactId>
               <version>0.5.1</version>
            </dependency>
            
                        | QR | 
<div class="card">
    <h:panelGrid columns="2" cellpadding="7">
        <h:outputText value="QR"/>
        <p:barcode value="0123456789" type="qr" magnification="5.0" />
    </h:panelGrid>
</div>