O'Reilly logo

Mastering GeoServer by Colin Henderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JNDI connection or JDBC

When creating spatial database connections in GeoServer, you might notice that you are frequently provided with two options for the data store as highlighted in the following screenshot:

JNDI connection or JDBC

Vector data sources

In the preceding example, we can see that for Microsoft SQL Server and PostGIS, there is a standard data source option as well as one with (JNDI) after the name. If you noticed this, then you might have thought to yourself, "What's the difference?", and if you are aware of the difference, you might be wondering why you would want to use it over the standard JDBC version.

JNDI appended to the name of the data source stands ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required