Patent ID: 8332871

Claim:
A computer-implemented method, comprising: sending, by a processing device, an event received at a Session Initiation Protocol (SIP) Servlet container to a Java™ APIs for Intelligent Networks Service Logic Execution Environment (JSLEE) container through a fireEvent method, wherein the SIP Servlet container and the JSLEE container are integrated in a same JAVA virtual machine (JVM); receiving, at the SIP Servlet container, an object that includes a getResult method; processing, by a JSLEE application in the JSLEE container, the event to produce a result; returning, by the JSLEE application, the result through a setResult method; and obtaining, by the SIP Servlet container, the result via the getResult method, wherein the getResult method and the setResult methods are members of a class Event that provides both synchronous and asynchronous event processing by the JVM without adding a component layer to the SIP Servlet container to send events to the JSLEE container while maintaining state of the SIP Servlet container.