Instant OSGi Starter
By Jamie Goodyear and Johan Edstrom
()
About this ebook
Read more from Jamie Goodyear
Apache Karaf Cookbook Rating: 0 out of 5 stars0 ratingsOpenDaylight Cookbook Rating: 0 out of 5 stars0 ratings
Related to Instant OSGi Starter
Related ebooks
Git Best Practices Guide Rating: 0 out of 5 stars0 ratingsMonitoring Docker Rating: 0 out of 5 stars0 ratingsMastering Symfony Rating: 0 out of 5 stars0 ratingsNginx Essentials Rating: 0 out of 5 stars0 ratingsMastering Spring 5.0 Rating: 5 out of 5 stars5/5Opa Application Development Rating: 0 out of 5 stars0 ratingsBuilding a RESTful Web Service with Spring Rating: 5 out of 5 stars5/5Instant Java Password and Authentication Security Rating: 0 out of 5 stars0 ratingsRESTful Web API Design with Node.js - Second Edition Rating: 1 out of 5 stars1/5Modular Programming with PHP 7 Rating: 0 out of 5 stars0 ratingsPerformance Testing with JMeter 2.9 Rating: 0 out of 5 stars0 ratingsPersistence in PHP with Doctrine ORM Rating: 0 out of 5 stars0 ratingsLLVM Essentials Rating: 1 out of 5 stars1/5WebSocket Essentials – Building Apps with HTML5 WebSockets Rating: 0 out of 5 stars0 ratingsMastering JavaScript Design Patterns - Second Edition Rating: 5 out of 5 stars5/5AngularJS Deployment Essentials Rating: 0 out of 5 stars0 ratingsOSGi in Action: Creating Modular Applications in Java Rating: 0 out of 5 stars0 ratingsSpring Microservices Rating: 0 out of 5 stars0 ratingsNative Docker Clustering with Swarm Rating: 0 out of 5 stars0 ratingsVagrant Virtual Development Environment Cookbook Rating: 5 out of 5 stars5/5OpenNebula 3 Cloud Computing Rating: 0 out of 5 stars0 ratingsMulti-Hosting Application & Balloon Services: A Novel Cloud Native Architecture & Its Ecosystem Rating: 0 out of 5 stars0 ratingsRx.NET in Action Rating: 0 out of 5 stars0 ratingsGradle Effective Implementation Guide Rating: 3 out of 5 stars3/5Eclipse Plug-in Development: Beginner's Guide - Second Edition Rating: 0 out of 5 stars0 ratingsSpring Boot Intermediate Microservices: Resilient Microservices with Spring Boot 2 and Spring Cloud Rating: 0 out of 5 stars0 ratingsRed Hat OpenShift A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsApache Camel Developer's Cookbook Rating: 0 out of 5 stars0 ratingsKubernetes A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratings
Programming For You
Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Hacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsHTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5OneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5C# 7.0 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsLearn SQL in 24 Hours Rating: 5 out of 5 stars5/5C++ Learn in 24 Hours Rating: 0 out of 5 stars0 ratingsPython: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5TensorFlow in 1 Day: Make your own Neural Network Rating: 4 out of 5 stars4/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Raspberry Pi: Beginner's Guide - Learn Raspberry Pi in Easy Steps Rating: 2 out of 5 stars2/5
Reviews for Instant OSGi Starter
0 ratings0 reviews
Book preview
Instant OSGi Starter - Jamie Goodyear
Table of Contents
Instant OSGi Starter
Credits
About the authors
About the reviewer
www.packtpub.com
Support files, eBooks, discount offers and more
packtLib.packtpub.com
Why Subscribe?
Free Access for Packt account holders
1. Instant OSGi Starter
So, what is OSGi?
What kind of things can you do with OSGi?
How can you use OSGi within your existing applications?
Installation
Step 1 – what do I need?
Step 2 – downloading an OSGi core
Step 3 – starting up an OSGi core directly
Step 4 – downloading Apache Karaf
What does using Apache Karaf and Maven provide us with?
Step 5 – starting Apache Karaf
Step 6 – obtaining the BND tool (Maven Bundle plugin)
Step 7 – obtaining Blueprint
Step 8 – obtaining Pax Exam
And that's it!!
Quick start – your first OSGi bundles
Step 1 – what do I need?
Step 2 – analyzing the producer
Step 3 – analyzing the consumer
Step 4 – testing
Top five features you'll want to know about
1 – OSGi headers
Bundle-SymbolicName
Bundle-Version
Major
Minor
Micro
Qualifier
Import-Package
Inclusive Minimum, Exclusive Maximum:
Inclusive Minimum, Inclusive Maximum:
Exclusive Minimum, Exclusive Maximum:
Exclusive Minimum, Inclusive Maximum:
Inclusive Minimum:
Export-Package
2 – OSGi life cycle
Installed
Resolved
Starting
Active
Updating
Stopping
Uninstalled
BundleActivator
3 – OSGi core services
Service Hooks
4 – OSGi Compendium Services
Blueprint Container
Configuration Admin
5 – OSGI and modular patterns
Whiteboard pattern
Idea
Implementation
Common uses
Extender pattern
Idea
Implementation
Common uses
People and places you should get to know
Official sites
Articles and tutorials
Community
Blogs
Instant OSGi Starter
Instant OSGi Starter
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2013
Production Reference: 1170113
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84951-992-2
www.packtpub.com
Credits
Authors
Johan Edstrom
Jamie Goodyear
Reviewer
Tomek Lipski
Acquisition Editor
Joanna Finchen
Commissioning Editor
Meeta Rajani
Technical Editors
Ameya Sawant
Vrinda Amberkar
Copy Editor
Alfida Paiva
Project Coordinator
Michelle Quadros
Proofreader
Maria Gould
Graphics
Aditi Gajjar
Production Coordinator
Prachali Bhiwandkar
Cover Work
Prachali Bhiwandkar
Cover Image
Conidon Miranda
About the authors
Johan Edstrom is an open source software evangelist, Apache developer, and a seasoned architect working with Savoir Technologies. He has created Java architectures for large and scalable, high transaction monitoring, financial, and open source systems. He