There are some key differences between Session Initiation
Protocol (SIP) 1.0 and SIP 1.1 in areas such as the deployment descriptor,
annotations, and servlet specifications.
Table 1. Comparison of some differences between SIP 1.0 and SIP
1.1| Function |
SIP 1.0 |
SIP 1.1 |
| Deployment descriptor |
The deployment descriptor is described by a
DTD. |
The deployment descriptor is described by
an XML schema.
Some other changes in the deployment descriptor
are: - app-name – Mandatory configuration to denote the SIP application
name
- servlet-selection: You select either a Main-servlet or
Servlet-mappings but not both.
- Main-servlet:
- Process initial request
- Forwards requests to other servlets
- Only one Main-servlet per application
- Servlet-mappings: - Backward compatibility with SIP1.0
|
| Annotations |
No annotations support |
Support for annotations defined by Java™ EE 5 within SIP servlets and listeners;
defines custom annotations representing SIP interfaces.You can
use annotations to perform these tasks: - Embed metadata directly in an application.
- Inject resources, such as an enterprise bean, into an application.
There are four supported annotations in SIP 1.1: - @SipServlet
- @SipApplication
- @SipListener
- @SipApplicationKey
|
New in SIP 1.1 servlet specification
SIP
1.1 servlet specification adds some features:
- Introduces a new entity called an Application Router
- o The SIP Servlet API was extended to include two new methods:
- doRefer() : forwards request to a third party.
- doUpdate(): updates a session without changing the dialog state.