The Source for Java Technology Collaboration


The SLEE Graph Viewer is a working prototype of what could become a SLEE Online Control Center.

The demo is a java Swing application, which visualizes components (Services, SBBs and RAs) and their relationships in a runing SLEE container.

Screenshot

The following screenshot is an example graph populated from a running Mobicents server. It shows that the SIP Proxy&Registrar service is composed of two SBBs. The Proxy SBB is a Root SBB. It is a front facing Service Building Block, which accepts SIP events sent by the SIP RA and either handles them directly or delegates to the Registrar SBB. Both SBBs use the SIP RA to send SIP protocol signals.

How to build and run

To try the SLEE Graph Viewer, check out the slee-graph module from the mobicents-examples repository: https://mobicents-examples.dev.java.net/.

  • Make sure that you have a recent version (1.0b1 or later) of the Mobicents server built and available on your machine. It should be deployed with all default RAs and Services. This is done via ">mobicents/scripts/ant auto-deploy-all".
  • You will also need a recent version of Apache Ant (1.6 or later).
  • Start the Mobicents server (e.g. bin/run -c all -b 127.0.0.1)
  • From the command line execute "ant run".
  • You should now see a new Java Swing window similar to the one in the screenshot.

Future work

The prototype can be enhanced with more useful features. Here is an initial list. You are encouraged to add to it:

  • Event types. The graph should include event types and the directed relationships that they have to the other components.
  • Traffic load. The links in the graph can be highlighted and labeled to indicate the number of events sent between nodes.
  • Refresh. The graph should be updated each 5-10 seconds. The update data flow can be implemented via SIP SUBSCRIBE/NOTIFY mechanism.
  • Deployment Units. The graph can group components by the deployment units that they belong to.
  • Drill Down. Components could be enhanced to display usage parameter statistics when selected.
  • ... add your own idea here ...

-- Main.ivelin - 27 Nov 2005

Topic MobicentsExamplesSleeGraph . { Edit | Ref-By | Printable | Diffs r3 < r2 < r1 | More }
 XML java.net RSS

Revision r3 - 17 Mar 2009 - 23:39:56 - Main.aznag
Parents: MobicentsExamples