Which would be the scala way of building a modular/plugin based architecture application?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/scala

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • layrry

    A Runner and API for Layered Java Applications

    Use https://github.com/moditect/layrry which is based on Java Modules. Not tried yet. Sbt does not recognize module-info.java which is essential for it to work. Possible solution is implement an Sbt Plugin. But, I don't know if at the end this would work in development mode which is important.

  • MacWire

    Lightweight and Nonintrusive Scala Dependency Injection Library

    Implement the application around https://github.com/softwaremill/macwire and hope the wiredInModule feature (which support dynamic loading) would be ported to Scala 3 soon.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts