Version

What is SIP Servlet

A SIP servlet is a Java programming language server-side component that performs SIP (Session Initiation Protocol) signaling. SIP servlets are managed by a SIP servlet container, which typically are part of a SIP-enabled application server. SIP servlets interact with clients by responding to incoming SIP requests and returning corresponding SIP responses. 

SIP servlets are built off the generic servlet API provided by the Java Servlet Specification. 

Differences Between HTTP Servlets and SIP Servlets 

SIP servlets differ from typical HTTP servlets used in web applications in the following ways: 

  • HTTP servlets have a particular context (called the context-root) in which they run, while SIP servlets have no context. 

  • HTTP servlets typically return HTML pages to the requesting client, while SIP servlets typically connect SIP-enabled clients to enable telecommunications between the client and server. 

  • SIP is a peer-to-peer protocol, unlike HTTP, and SIP servlets can originate SIP requests, unlike HTTP servlets which only send responses to the originating client. 

  • SIP servlets often act as proxies to other SIP endpoints, while HTTP servlets are typically the final endpoint for incoming HTTP requests. 

  • SIP servlets can generate multiple responses for a particular request. 

  • SIP servlets can communicate asynchronously, and are not obligated to respond to incoming requests. 

  • SIP servlets often work in concert with other SIP servlets to respond to particular SIP requests, unlike HTTP servlets which typically are solely responsible for responding to HTTP requests. 

SIP Servlets and Java EE Components 

SIP servlets can integrate with other Java EE components in a converged application. A converged application has one or more SIP servlets and one or more Java EE components, such as HTTP servlets, JavaServer Faces applications, enterprise beans, or web services. 

Converged applications allow you to integrate SIP functionality into Java EE applications and frameworks. For example, a web application that acts as a front-end to an employee contact information database could be enhanced by allowing users to make a Voice over Internet Protocol (VoIP) call to the employee for whom the user is searching. Or, an application could route incoming calls to employees based on their schedule in a calendar server. 

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com