SMA and LLA Guide : Creating and running SMA applications with Java
  
Creating and running SMA applications with Java
Java applications are linked to the SMA driver library. The actual database connections are done with the normal JDBC API.
See also
Overview of using SMA with Java
Configuring your environment for SMA use with Java
Starting and shutting down SMA server
Making JDBC connections for SMA