you know the honeymoon is over when…
the first thing out of your boyfriend’s mouth in the morning is “what is the difference between JDBC and JNDI ?”
Categories: Random Musings
the first thing out of your boyfriend’s mouth in the morning is “what is the difference between JDBC and JNDI ?”
seriously,
what is the difference between JDBC and JNDI????
From Wikipedia:
The Java Naming and Directory Interface (JNDI) is an API for directory service that allows clients to discover and lookup data and objects via a name.
whereas
JDBC is an API for the Java programming language that defines how a client may access a database.
Basically JNDI is for accessing directory services (like Active Directory) whereas JDBC is for accessing databases (usually relational databases like MySQL).