Client browser (interpreted)
Server (compiled into SSJS byte code)
Application file (.web)
The diagram below shows how SSJS interacts with LiveWire to connect with a variety of databases (DB2, Informix, Oracle, Sybase, and ODBC-compliant databases). SSJS provides developers with a collection of objects (such as the database, DbPool, and cursor objects) that interact with the LiveWire database access engine to communicate with a database. At the same time, some of the objects that are part of SSJS (the file, SendMail, and state management objects) do not interact with LiveWire. Remember that LiveWire involves database access only, whereas SSJS encompasses database access and additional server-side functionality.