X simply provides you with a set of Java code. You call the methods in their code, and that calls on their stuff.
Basically, imagine that X uses
JDBC, but they have a dozen classes that they provide to you that wraps up JDBC code. So, you call their custom Java code in your code and it connects to their system for you.
-Cameron McKenzie