Skip to main content

Mobicents-Jboss relation

2 replies [Last post]
Joined: 2005-05-12

Hi guys,
I just wanted to ask you about if mobicents JSLEE could also @run@ EJBs/Servlets or are these supposed to run in a different application server/And how would an EJB/Servlet for example communicate with a SSB?
I was thinking to develop a Parlay "application server" and my idea was to wrap Parlay APIs with some higher level APIs, by means of EJB components so that a J2ee server like JBoss could be used, but after some investigation of the asynchrounus Parlay APIs, I thought that JCA adaptors to the Parlay API would be more appropriate than MD EJBeans.
My question is thus what are the advantages of using Mobicents JSLEE instead of Jboss J2ee server with JCA connectors for JCC/PArlay GCC and gain J2ee server "expertise" and advantages ? It not yet totally clear to me what are the specific advantages that JSLEE provides over J2ee AS for applications in the "telecom domain" and most of the Management/deployment concepts look very much like EJB server ones.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-05-12

I see that some of my questions are answered in this mobicents presentation>

So basically it says:
- SBB are lighter than EJBs, and JMS is too slow to cope with a high number of events.

But I still wonder how the business logic of an application (say a simple routing application, that needs access to a DB) would be implemented in SBBs, and how an IT application using Servlets/EJBs could access SBBs.

And if SBBs don\t listen/register for specific events direclty, how can a new event (a call from a new customer with a new number 123) be dynamically registred ?

Joined: 2003-06-06

#1 you would use a resource adapter to access an sbb from an ejb. For example, imbed a sip stack in the ejb and talk to a sip resource adaptor in the slee to route your request to an sbb. A good example would help. Want to try to build one... one day we will do a "little red book of SLEE practices". :-)

#2. Another good question This magic happens during convergence name computation. The slee computes a convergence name ( in your question, you would want to set it up as an address profile ). When the convergence name is computed, the slee looks through the set of services and see if one exists that matches the convergence name. If none exists, a new one is created and the event routed to it. Take a look at and also the where the magic happens.

Also you may want to take a look at the example in the best practices section posted by Marco.