1

I was reading about SIP and found that there's an java API JAIN SIP to develop SIP based applications. Then I also found that there is JAIN SLEE and SIP servlets.

I believe JSLEE and SIP Servlets are containers to deploy applications based on JAIN and SIP servlets respectively.

Can some please explain. Also, please tell me which one is better to start with for learning.

Thanks

user3275095
  • 1,605
  • 4
  • 24
  • 36

1 Answers1

5

JAIN SIP is a java specification (https://jcp.org/en/jsr/detail?id=32) for writing Java SIP applications in a standard and portable manner (between JAIN SIP vendors).

JAIN SLEE is a java specification (https://jcp.org/en/jsr/detail?id=240) that defines an event and programming model, application lifecycle and management for writing portable communications application. It's basically an Application Server in which you can plug any protocols (Diameter, SIP, HTTP, XMPP, SS7, legacy protocols, ...) through a notion called the Resource Adaptor. The SIP Resource Aaptor in JAIN SLEE actually uses JAIN SIP as a standard.

SIP Servlets is a java specification (https://jcp.org/en/jsr/detail?id=289) that defines a programming model that is based on the popular HTTP Servlet Model but tailored to SIP. The focus of the specifications is on simplifying the writing of SIP (or converged SIP/HTTP or SIP/JEE) Applications by managing automatically the low level layers of SIP and letting the programmer focus on the business logic as much as possible.

In Mobicents, we actually implement JAIN SLEE (https://code.google.com/p/jain-slee/) and SIP Servlets (https://code.google.com/p/sipservlets/) which both uses JAIN SIP (https://java.net/projects/jsip/) as a SIP Stack.

So knowing very well all 3 technologies, I would recommend SIP Servlets if you're new to this and already have some HTTP Servlet programming background.

jeand
  • 2,325
  • 14
  • 12
  • 1
    Thanks a lot Jean. This one is the best I found, short and clear. – user3275095 Oct 27 '14 at 04:55
  • 1
    to add on that, there is a comparison here on JAIN SLEE and SIP Servlets https://mobicents.ci.cloudbees.com/job/Mobicents-SipServlets-Release_/lastSuccessfulBuild/artifact/documentation/html_single/index.html#ss_jslee_interop – jeand Oct 27 '14 at 15:00
  • Thanks a lot. This guide is useful. I was desperately looking for this. All I was getting was some links from mobicents which says they were obsolete and few which were giving 404. – user3275095 Oct 27 '14 at 17:40
  • Yes, sorry there was some DDOS attacks on the Continuous Integration Server. The links are now back up at https://mobicents.ci.cloudbees.com/job/Mobicents-SipServlets-Release/lastSuccessfulBuild/artifact/documentation/html_single/index.html#ss_jslee_interop – jeand Oct 28 '14 at 18:15
  • Yes, they are available now. Thanks. – user3275095 Oct 28 '14 at 20:35
  • hello @jeand i could not access the link above it seems that it is not available. – Nebras Jul 14 '16 at 09:50