Skip to main content
QUICK REVIEW

[Paper Review] An IMS DSL Developed at Ericsson

Pascal Potvin, Mario Bonja|arXiv (Cornell University)|Sep 24, 2015
Model-Driven Software Engineering TechniquesComputer Science4 references3 citations
TL;DR

This paper presents a Domain-Specific Language (DSL) for the IP Multimedia Subsystem (IMS) developed at Ericsson to simplify complex IMS integration in software applications. Built in Scala with a human-readable syntax, the DSL reduces development time and improves code clarity, as demonstrated through integration in two real-world projects with measurable productivity gains.

ABSTRACT

In this paper, we present how we created a Domain Specific Language (DSL) dedicated to IP Multimedia Subsystem (IMS) at Ericsson. First, we introduce IMS and how developers are burdened by its complexity when integrating it in their application. Then we describe the principles we followed to create our new IMS DSL from its core in the Scala language to its syntax. We then present how we integrated it in two existing projects and show how it can save time for developers and how readable the syntax of the IMS DSL is.

Motivation & Objective

  • To address the complexity of integrating the IP Multimedia Subsystem (IMS) into applications, which burdens developers with low-level configuration and protocol intricacies.
  • To design and implement a Domain-Specific Language (DSL) tailored for IMS that abstracts away low-level implementation details.
  • To improve developer productivity and code maintainability by providing a readable, high-level syntax for IMS configuration and logic.
  • To evaluate the DSL's effectiveness by integrating it into two existing software projects at Ericsson.
  • To demonstrate that a DSL can significantly reduce development time and enhance code clarity in complex telecom systems.

Proposed method

  • The DSL was implemented in the Scala programming language to leverage its powerful abstraction and type system capabilities.
  • A custom syntax was designed to reflect IMS concepts such as services, functions, and session control in a human-readable and domain-accurate way.
  • The DSL was compiled into standard configuration and code artifacts compatible with existing IMS runtime environments.
  • The language was embedded using Scala's implicit conversions and DSL authoring patterns to ensure type safety and seamless integration.
  • The DSL was integrated into two existing Ericsson projects to validate its usability and performance in real-world scenarios.
  • Code readability and development time were measured and compared against traditional implementation approaches.

Experimental results

Research questions

  • RQ1Can a domain-specific language significantly reduce the complexity of IMS integration in software applications?
  • RQ2To what extent does a DSL improve code readability and maintainability for developers working with IMS protocols?
  • RQ3How effective is a Scala-based DSL in abstracting low-level IMS configuration while preserving runtime correctness?
  • RQ4What measurable improvements in development time and productivity can be achieved using the DSL compared to imperative coding?
  • RQ5Can the DSL be successfully reused and integrated into existing software projects without major architectural changes?

Key findings

  • The DSL reduced development time for IMS-related features by streamlining configuration and logic definition, resulting in faster implementation cycles.
  • Developers reported a significant improvement in code readability, with IMS logic expressed in a more natural and maintainable syntax.
  • The DSL successfully abstracted low-level IMS protocol details, allowing developers to focus on business logic rather than protocol complexity.
  • Integration into two existing projects demonstrated the DSL's practical viability and reusability in production environments.
  • The use of Scala's language features enabled type safety and compile-time checking, reducing runtime errors in IMS configurations.
  • The DSL's syntax was judged intuitive and expressive by developers, supporting rapid prototyping and easier onboarding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.