Take a look at our Java samples to learn more about using xServer internet in Java multi-platform applications.
Learn how to access xServer internet with the PTV client libraries. There are two samples which describe this practice. One accesses xLocate for a simple geocoding application. The other accesses xMap for a basic mapping application.