If GlassFish is missing from your server options, follow these steps to download and install it via the NetBeans Plugin Portal : In NetBeans, go to Tools > Plugins .
Check the box next to GlassFish Server and click Install . download glassfish plugin for netbeans
How to register and start glassfish 7.0.9 from netbeans 19 IDE If GlassFish is missing from your server options,