Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Eclipse + Maven + OSGi has never been so easy - Atllia Kiss

495 views

Published on

OSGi Community Event 2016 Presentation by Atllia Kiss (Everit Kft.)

This talk outlines the ease of use of OSGi in application code and shows how to master development tasks by using the right APIs and tools. Learn about the latest in component development, asynchronous processing, configuration management and deploying your application code in larger modules, so-called subsystems. A subsystem allows to package a set of bundles and configurations. The subsystem can run isolated from other bundles or other applications.

Learn how to leverage the latest OSGi tech for your own projects. All of the functionality discussed is available as open source.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Eclipse + Maven + OSGi has never been so easy - Atllia Kiss

  1. 1. Eclipse + Maven + OSGi has never been so easy Attila Kiss Everit Kft.
  2. 2. Stages of evolution of managing an OSGi container
  3. 3. OSGi Console
  4. 4. Felix file install
  5. 5. Richconsole (E-OSGi Deployer) with eosgi-maven-plugin (v3.x)
  6. 6. Development to Production
  7. 7. Test Driven Development
  8. 8. Environment configuration support Local development Continuous Integration Test / QA / Demo / etc. Live / Production / etc.
  9. 9. Why Maven?
  10. 10. We build and install bundles (Maven artifacts) into OSGi containers not packages.
  11. 11. <groupId>org.everit.osgi.dev</groupId> <artifactId>eosgi-maven-plugin</artifactId> <version>4.x</version>
  12. 12. eosgi:dist XML templates command line templates OSGi environment with bundles and configuration pom.xml Dist package
  13. 13. eosgi:integration-test OSGi environment
  14. 14. eosgi:sync-back
  15. 15. eosgi:analyze ... -Dorg.osgi.framework.system.packages=javax.imageio, javax.lang.model,javax...
  16. 16. eosgi-e4-plugin http://marketplace.eclipse.org/content/everit-osgi-eclipse-plugin
  17. 17. Features ● Built on eosgi-maven-plugin – everything is configured in the pom.xml – supporting artifacts with multiple versions ● Create distribution packages for different environment ● Environment start/stop ● Incremental upgrade of the dependencies using OSGi JMX Management Model Spec. ● Debug environment (not a remote debug) ● Configuration synchronization
  18. 18. DEMO
  19. 19. Main messages ● keep it simple for developers ● let them concentrate on business intelligence ● steep learning curve
  20. 20. Roadmap ● Hotkeys ● Remote dist ● Creating environment upgrade scripts with binaries ● Live configuration upgrade ● Supporting bug reports and feature requests ● etc.
  21. 21. ● https://github.com/everit-org/eosgi-e4-plugin ● https://github.com/everit-org/eosgi-e4-plugin-demo ● http://www.everit.org/ecm ● http://www.everit.org/eosgi-maven-plugin ● http://www.everit.org/eosgi-e4-plugin ● http://marketplace.eclipse.org/content/everit-osgi-eclipse-plugin

×