Cover image for Understanding SIP servlets 1.1
Title:
Understanding SIP servlets 1.1
Personal Author:
Series:
Artech House telecommunications series
Publication Information:
Boston, MA : Artech House, 2009
Physical Description:
xvi, 295 p. : ill. ; 24 cm.
ISBN:
9781596934283
Added Author:

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010236049 TK5105.55 B68 2009 Open Access Book Book
Searching...

On Order

Summary

Summary

Providing a thorough overview to SIP (session initiation protocol) servlets 1.1, this unique resource serves as a practical guide to this exciting and emerging communications network technology. Covering all key concepts and their links into Java Enterprise Edition (JEE), the book discusses the construction, deployment and lifecycle of the SIP servlet. You find a detailed presentation of the role, responsibilities, and convergence of the SIP servlet container. Further, the book discusses the development and deployment of SIP technology, including guidance on SIP Servlet client programming.


Author Notes

Chris Boulton is the chief technology officer for NS Technologies and was formerly a technical research specialist working on next generation solutions for Avaya. He has been an active participant in the Internet Engineering Task Force (IETF) for more than six years. Mr. Boulton has authored and participated in numerous specifications related to the Session Initiation Protocol (SIP) and its related extensions. He is also a member of the JSR 289 SIP Servlet API Expert Group in the Java Community Process (JCP), is on the Technical Board of Advisors for the VoIP Security Alliance (VOIPSA), and has published numerous white papers on VoIP and related technologies.
Kristoffer Gronowski is a senior software architect at Ericsson Research, where he focuses on empowering development and evolution of communication services. He has worked most of his career in product development, and most recently he has been driving the architecture of the open source SailFin SIP container project. Mr. Gronowski is a member of the JSR289 SIP Servlet API Expert Group in the Java Community Process (JCP).


Table of Contents

Gonzalo CamarilloJames Steadman
Forewordp. xi
Forewordp. xiii
Prefacep. xv
Part I Introduction to SIP Servlet Technologyp. 1
1 Introduction to SIP Servletsp. 3
1.1 Session Initiation Protocolp. 3
1.2 SIP Servlets and the SIP Servlet Visionp. 15
1.3 Java Enterprise Editionp. 17
1.3.1 Servlet Specificationp. 17
1.3.2 Annotationsp. 19
1.3.3 Enterprise JavaBeans (EJB)p. 19
Referencesp. 21
2 The SIP Servlet Containerp. 23
2.1 Container Responsibilitiesp. 23
2.1.1 Life-Cycle Managementp. 23
2.1.2 Protocol Compliancep. 25
2.1.3 Mapping Requests to Servletsp. 25
2.1.4 Receiving SIP Requestsp. 29
2.1.5 Receiving SIP Responsesp. 32
2.1.6 Session Targetingp. 34
2.1.7 Session Utilitiesp. 40
2.1.8 SIP Factoryp. 43
2.1.9 Timer Servicep. 45
2.2 Container Convergencep. 47
2.2.1 HTTP Container Convergencep. 48
2.2.2 JEE Container Convergencep. 50
2.3 Securityp. 51
Referencesp. 56
3 The SIP Servlet Applicationp. 58
3.1 SIP Servlet Packagingp. 58
3.1.1 Deployment Descriptorp. 60
3.2 Application Rolesp. 61
3.2.1 Proxyp. 61
3.2.2 User Agent Clientp. 66
3.2.3 User Agent Serverp. 69
3.2.4 Back-to-Back User Agentp. 71
3.3 Application Constructsp. 76
3.3.1 SIP Application Sessionp. 77
3.3.2 SIP Sessionp. 78
3.3.3 Application Data Storagep. 81
3.3.4 Session Lifetime and Invalidationp. 83
3.3.5 Annotationsp. 88
Referencesp. 91
4 Application Routerp. 92
4.1 SIP Servlet 1.1 Composition Modelp. 92
4.2 Application Router, Container, and Application Interactionp. 98
4.2.1 Subsequent Requests and Responsesp. 107
Referencesp. 109
5 Moving Forwardp. 110
5.1 SIP Servlet Threading Modelp. 110
5.2 Outstanding Issuesp. 111
5.3 SIP Protocol Supportp. 111
5.4 JSR 309p. 112
Referencesp. 113
Part II Developer and Deployment Environmentsp. 115
6 Relationship and Role Within IMSp. 117
Referencesp. 122
7 SailFin 101p. 123
8 SailFin Understandingp. 141
8.1 Historyp. 142
8.2 Architecturep. 143
8.3 Loggingp. 145
8.4 Network Configurationp. 147
8.5 SIP Container Architecturep. 151
8.6 Writing Your Own Interceptor Layerp. 158
8.6.1 Writing Custom Application Routerp. 164
8.7 Cluster Deploymentp. 169
8.7.1 Load Balancing and IP Sprayersp. 175
8.7.2 ENUMp. 180
Referencesp. 182
9 SIP Servlet Client Programmingp. 184
9.1 Writing HTTP Servlet-Based Clientp. 186
9.2 Using Asynchronous HTTPp. 186
9.3 Using ICEfacesp. 196
9.4 REST and JAX-RSp. 202
9.4.1 Consuming a REST Servicep. 213
9.5 Java Me Jsr 180p. 217
Referencesp. 227
10 The SIP Servlet Application Programming Interface (API)p. 228
10.1 Container Utilitiesp. 229
10.1.1 SipFactoryp. 229
10.1.2 AuthInfop. 231
10.1.3 SipSessionsUtilp. 232
10.1.4 ConvergedHttpSessionp. 234
10.1.5 SipServletListenerp. 234
10.2 Application Constructsp. 235
10.2.1 SipApplicationSessionp. 235
10.2.2 SipApplicationSessionActivationListenerp. 239
10.2.3 SipApplicationSessionAttributeListenerp. 240
10.2.4 SipApplicationSessionBindingListenerp. 241
10.2.5 SipApplicationSessionListenerp. 242
10.2.6 SipSessionp. 243
10.2.7 SipSessionActivationListenerp. 247
10.2.8 SipSessionAttributeListenerp. 248
10.2.9 SipSessionBindingListenerp. 249
10.2.10 SipSessionListenerp. 250
10.3 SIP Message Routingp. 251
10.3.1 Proxyp. 251
10.3.2 ProxyBranchp. 255
10.3.3 B2BuaHelperp. 258
10.3.4 SipErrorListenerp. 260
10.4 SIP Messaging Constructsp. 261
10.4.1 SipServletMessagep. 261
10.4.2 SipServletRequestp. 269
10.4.3 SipServletResponsep. 273
10.4.4 Addressp. 276
10.4.5 Parametablep. 278
10.4.6 SipURIp. 279
10.4.7 TelURLp. 283
10.4.8 URIp. 284
10.5 Timer Servicep. 285
10.5.1 TimerServicep. 286
10.5.2 ServlvetTimerp. 287
10.5.3 TimerListenerp. 288
Referencesp. 289
About the Authorsp. 291
Indexp. 293