OSGi
OSGi

17
10
+ 1
0
Spring
Spring

1.8K
1.4K
+ 1
931
Add tool

OSGi vs Spring: What are the differences?

OSGi: The Dynamic Module System for Java. It is a Java framework for developing and deploying modular software programs and libraries. It provides a vendor-independent, standards-based approach to modularizing Java software applications and infrastructure; Spring: Provides a comprehensive programming and configuration model for modern Java-based enterprise applications. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

OSGi and Spring belong to "Frameworks (Full Stack)" category of the tech stack.

Spring is an open source tool with 31.2K GitHub stars and 20.1K GitHub forks. Here's a link to Spring's open source repository on GitHub.

MIT, Zillow, and Intuit are some of the popular companies that use Spring, whereas OSGi is used by Liferay, Netcentric, and Enonic AS. Spring has a broader approval, being mentioned in 441 company stacks & 1263 developers stacks; compared to OSGi, which is listed in 7 company stacks and 9 developer stacks.

- No public GitHub repository available -

What is OSGi?

It is a Java framework for developing and deploying modular software programs and libraries. It provides a vendor-independent, standards-based approach to modularizing Java software applications and infrastructure.

What is Spring?

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose OSGi?
Why do developers choose Spring?
    Be the first to leave a pro

    Sign up to add, upvote and see more prosMake informed product decisions

    What are the cons of using OSGi?
    What are the cons of using Spring?
      Be the first to leave a con
      What companies use OSGi?
      What companies use Spring?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with OSGi?
      What tools integrate with Spring?
        No integrations found

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to OSGi and Spring?
        Spring Boot
        Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
        Docker
        The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
        Node.js
        Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
        ASP.NET
        .NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
        Rails
        Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
        See all alternatives
        Decisions about OSGi and Spring
        No stack decisions found
        Interest over time
        Reviews of OSGi and Spring
        No reviews found
        How developers use OSGi and Spring
        Avatar of datapile
        datapile uses SpringSpring

        Spring is another gift rained down by the gods of Open Source Software (a.k.a. Pivotal Labs in this particular case) that just makes sense on all levels.

        From Spring Boot, to SpringMVC, the configuration architecture & profile paradigm, Spring Cloud expandability, to the ease with which one can deploy Spring applets as microservices within Docker is an absolute joy.

        Avatar of Giovanni Candido da Silva
        Giovanni Candido da Silva uses SpringSpring

        The core of the application use Spring Stack, to provide services and structure like:

        • Persistence
        • REST
        • Email
        • Security
        • Self contained application with spring boot
        • And many others.
        Avatar of Kang Hyeon Ku
        Kang Hyeon Ku uses SpringSpring

        그냥 간단한 MVC 웹 프레임 워크 인줄 알았는데 정말 모듈화가 잘 되있고, 사용하다보면 개발자에게 정말 편리하게 만들어 놓았다. vaildation 부분은 따로 처리 할 수 있고, 파라미터 담는 변수와 디폴트 값을 인자로 설정해 주는 부분도 참 좋은 것 같다. 또 spring-data 는 jpa 활용해 빠르게 개발하는데 유용하다.

        Avatar of ByeongGi
        ByeongGi uses SpringSpring
        • SpringFramework 중 MVC , AOP 등의 라이브러리를 활용하여 웹 어플리케이션 프로젝트 구성
        • 공통 로직 구현 및 보안 처리 가능

        • Spring5에서 지원하는 함수형 프로그래밍 경험 있음

        Avatar of Ralic Lo
        Ralic Lo uses SpringSpring

        Used Spring Boot and its ORM to interacting with database server for web application development.

        How much does OSGi cost?
        How much does Spring cost?
        Pricing unavailable
        Pricing unavailable
        News about OSGi
        More news