This demo shows how to store geographical location information from the W3 Geolocation API on the server side with JSF and PrimeFaces.
Adapted from https://github.com/peterpeterparker/jsf-dogs - check out the README for a detailed explanation on how this works. Thank you David!