Developing SIP applications
A Session Initiation Protocol (SIP) application is a Java™ program that uses at least one servlet that runs on a SIP-enabled application server. The
workbench includes tools to help you create and develop SIP applications.
Learn about SIP applications
Session Initiation Protocol (SIP) is an application-layer protocol that you can use to initiate, modify, or end communication and collaborative sessions over Internet Protocol (IP) networks. It is typically used for instant messaging, telephony, and other real-time collaboration activities. A SIP application is a Java program that uses at least one servlet that runs on a SIP-enabled application server. The workbench includes tools to help you create and develop SIP applications.
SIP overview
SIP (Session Initiation Protocol) is a peer-to-peer protocol that is used to establish, modify, and end multimedia Internet Protocol (IP) sessions between two endpoints, including telephony and instant messaging.
Creating SIP projects
Use the New Project wizard to create a Session Initiation Protocol (SIP)/Hypertext Transfer Protocol (HTTP) Project. You can develop both SIP and HTTP servlets. On the Project Definition page, you can define the new project name, location, and target server runtime environment.
Adding SIP capability to an existing web project
You can add a SIP facet to an existing web project so that it becomes a SIP application.
Creating SIP servlets
Use the New SIP Servlet wizard to create a Session Initiation Protocol (SIP) servlet. A SIP servlet is a Java-based application component that performs SIP signaling and is run by a Java-enabled SIP application server.
Editing SIP deployment descriptors
The Session Initiation Protocol (SIP) deployment descriptor file, sip.xml , specifies deployment information, Multipurpose Internet Mail Extension (MIME) types, session configuration details, and other settings for a SIP application. This information is used in building a servlet archive (SAR) file from a project. The sip.xml file is in the WEB-INF directory of the project.
Adding SIP annotations
Add annotations to SIP 1.1 servlets to embed data directly in a SIP application and to inject resources, such as EJB or SIP utility classes.
SIP workbench preferences
For SIP projects targeted to the WebSphere® Application Server, you can set the Session Initiation Protocol (SIP) preference page to control how the Web deployment descriptors are updated with SIP deployment descriptor content.
Deployment configurations for SIP applications
To deploy SIP applications, the target server must have a configuration that is supported by the SIP version that you are using.
Importing servlet archive (SAR) files
A servlet archive (SAR) file is a portable, packaged Session Initiation Protocol (SIP) application that you can import into your workspace.
Exporting servlet archive (SAR) files
A servlet archive (SAR) file is a packaged Session Initiation Protocol (SIP) application. You can export this file to test, publish, and deploy the resources that are developed within the SIP project.
Importing SIP applications in EAR or WAR files
If you import EAR or WAR files that contain a SIP application, then you must add the SIP facet to the project.