Corporation Server User Manual

iii
Contents
Preface ................................................................................................................................................................. ix
Audience....................................................................................................................................................... ix
Documentation Accessibility..................................................................................................................... ix
Related Documents ..................................................................................................................................... x
Conventions ................................................................................................................................................. x
1 Overview
Introduction to Oracle Communication and Mobility Server......................................................... 1-1
New in this Release............................................................................................................................ 1-1
Application Development in OCMS.................................................................................................... 1-2
SIP Servlet API.................................................................................................................................... 1-2
Parlay X Web Service Interface ................................................................................................. 1-2
Presence Web Services ............................................................................................................... 1-2
Oracle Communication and Mobility Server Development Tools ............................................. 1-2
2 SIP Servlets
Introduction to SIP Servlets ................................................................................................................... 2-1
The SIP Container .................................................................................................................................... 2-2
Servlet Context ................................................................................................................................... 2-2
SIP Application Sessions................................................................................................................... 2-3
Protocol Sessions................................................................................................................................ 2-3
Transactions ........................................................................................................................................ 2-3
Servlets................................................................................................................................................. 2-4
Increased Servlet Modularity.................................................................................................... 2-4
Renaming SAR Files for the JBoss Application Server.......................................................... 2-4
Listeners............................................................................................................................................... 2-4
SIP Servlets and SIP Applications........................................................................................................ 2-5
SIP Servlet Environment......................................................................................................................... 2-5
Servlet Mapping ................................................................................................................................. 2-7
Classes and Methods ............................................................................................................................ 2-7
Request and Response Handling Methods .................................................................................... 2-7
Messages....................................................................................................................................... 2-8
Requests........................................................................................................................................ 2-8
Responses..................................................................................................................................... 2-9
Content ......................................................................................................................................... 2-9
Manipulating SIP headers ......................................................................................................... 2-9
SipURI........................................................................................................................................ 2-10
Address...................................................................................................................................... 2-11
SIP Details ................................................................................................................................. 2-11
Storing Data as Session Attributes................................................................................................ 2-12
Adding Configuration Parameters............................................................................................... 2-12
Configuring SIP Applications in sip.xml......................................................................................... 2-13