SMA and LLA Guide : Overview of shared memory access and linked library access : Linked library access (LLA)
  
Linked library access (LLA)
With the linked library access (LLA), an application links to a static library or a dynamic library that contains the full database server functionality. This means solidDB® runs in the same executable program with the application, eliminating the need to transfer data through the network.
The application that is linked to the solidDB® server using the LLA library is called an LLA application; the server is called LLA server.
The application that links to the LLA library can also have multiple connections, using ODBC API, SA API, and JDBC API. All these APIs are reentrant, allowing simultaneous connections from separate threads.
The application that links directly to LLA library can also create remote connections to other database servers. The connection type (local or remote) is defined in the connect string that is passed to the ODBC API or SA API connect function or defined in the JDBC connection properties.
Principles of operation
When you start your application, only the code in your application starts running automatically. The server code is largely independent of your application code, and you must explicitly start the server by calling a function. In most implementations, the server runs on threads that are separate from the thread or threads used by the application. Calling the function to start a server performs any initialization steps required by the server code, creates the appropriate additional threads if necessary, and starts the server running on those threads.
Disk-based and diskless server
The solidDB® server used with LLA can be disk-based or diskless. The LLA library contains two different function calls to start the server. The SSCStartServer function call starts a normal disk-based server, while SSCStartDisklessServer starts a server that does not use the disk drive.
See also
System requirements for LLA
LLA components and packaging
Static and dynamic link libraries for LLA
Overview of shared memory access and linked library access