Search |
||
Writing Your First SailFin CAFE Application.Posted by binod on October 1, 2009 at 3:11 AM PDT
How do you write a application that enables communication between two SIP phones? What if you also want to support video calling? If you are using SIP servlets, you would be writing one or two sip servlets (atleast a few hundred lines of SIP servlet code) to achieve this. But if you are using Sailfin CAFE, then things change quite dramatically. Here is the code to do all of the above, I mentioned.
package my.test;
@org.glassfish.cafe.api.bean.CommunicationBean
public class YourCommunicationPOJO {
}
Thats it!
Under the hood, Framework handles all common activities like registration, SIP invite handling etc using a B2bUA application. Ofcourse, application can override the default behavior using CAFE apis. There is lot more you can do with SailFin CAFE, which I will explain in the subsequent blogs as the project progress further. Lets take a look at running this application. Here are the steps. Now your application is ready to test against any SIP phones. Here is some more information on how to test this application using X-Lite.
»
Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|