1. A method for facilitating communication between a client application configured to run on a first system and an event processing server configured to run on a second system, the method comprising: running, on the first system, a database connectivity adapter implementing a database connectivity Application Programming Interface (API), wherein the database connectivity adapter is configured to facilitate communication between the client application and the event processing server via the database connectivity API by: receiving, in response to an invocation of the database connectivity API by the client application, a query language statement to be executed by the event processing server; parsing the query language statement to determine a type of the statement; processing the query language statement based on its type; and invoking a procedure exposed by the event processing server for executing the query language statement.