OSGi-for-mere-mortals | Sample code for my OSGi for mere mortals

 by   bdelacretaz Java Version: Current License: No License

kandi X-RAY | OSGi-for-mere-mortals Summary

kandi X-RAY | OSGi-for-mere-mortals Summary

OSGi-for-mere-mortals is a Java library. OSGi-for-mere-mortals has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

This is the code of my "OSGi for mere mortals" presentation at ApacheCon NA 2011, EU 2012 and EU 2014. It's a minimal standalone RESTful server built from scratch using OSGi Declarative Services, meant to demonstrate that OSGi is not only for superhuman guru programmers. This example demonstrates the complete lifecycle of an OSGi application, from starting the framework and installing the required bundles to running the app itself. It also demonstrates the svelteness of the OSGi framework and core services: the total size of the build-time dependencies (jar files) is around 3 megabytes and additional runtime baggage amounts to ten OSGi bundles (also jar files) representing about 2 megabytes more, including all runtime features like the OSGi web console, interactive OSGi shell, the OSGi configuration mechanism and front-end and the servlet engine. Startup time is around 300 msec on my laptop. The Maven build is also a useful example of how to create OSGi bundles in a simple way. The slides at should help you walk through the code.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              OSGi-for-mere-mortals has a low active ecosystem.
              It has 25 star(s) with 12 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              OSGi-for-mere-mortals has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of OSGi-for-mere-mortals is current.

            kandi-Quality Quality

              OSGi-for-mere-mortals has no bugs reported.

            kandi-Security Security

              OSGi-for-mere-mortals has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              OSGi-for-mere-mortals does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              OSGi-for-mere-mortals releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed OSGi-for-mere-mortals and discovered the below as its top functions. This is intended to give you an instant insight into OSGi-for-mere-mortals implemented functionality, and help decide if they suit your requirements.
            • The main entry point
            • Gets the framework instance
            • Installs a bundle
            • Waits for the OSGi framework to finish
            • Gets storage
            • Print properties as text
            • Returns the storage path
            • Dispatch the request
            • Extract service methods from the service reference
            • Handle a POST request
            • Converts an input stream to a string
            • Activates the servlet registry
            • DS method for deactivation
            • Returns the path
            • Get a property
            • Entry point for activation
            • Stores a key - value pair
            • Add a path property
            • Serves a GET servlet request
            • Serves a POST request
            Get all kandi verified functions for this library.

            OSGi-for-mere-mortals Key Features

            No Key Features are available at this moment for OSGi-for-mere-mortals.

            OSGi-for-mere-mortals Examples and Code Snippets

            No Code Snippets are available at this moment for OSGi-for-mere-mortals.

            Community Discussions

            No Community Discussions are available at this moment for OSGi-for-mere-mortals.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install OSGi-for-mere-mortals

            To build the runnable jar, run mvn clean install at the top of the source code tree (using Apache Maven 3.0.3 or later). You can then start the server from the launcher subfolder by running. (or whatever the name of that jar file is). The OSGi console shown in the slides is at http://localhost:8080/system/console - use admin/admin to log in.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/bdelacretaz/OSGi-for-mere-mortals.git

          • CLI

            gh repo clone bdelacretaz/OSGi-for-mere-mortals

          • sshUrl

            git@github.com:bdelacretaz/OSGi-for-mere-mortals.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by bdelacretaz

            docker-sling-cluster

            by bdelacretazRuby

            sling-devops-experiments

            by bdelacretazJava

            OSGi-weaving-hook-examples

            by bdelacretazJava

            createjs-sling

            by bdelacretazJavaScript

            sling-adaptto-2016

            by bdelacretazJava