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
Mockito Essentials Rating: 3 out of 5 stars3/5Testing with JUnit Rating: 0 out of 5 stars0 ratingsMaven Essentials: Get started with the essentials of Apache Maven and get your build automation system up and running quickly Rating: 0 out of 5 stars0 ratingsRESTful Java Web Services, Second Edition: Design scalable and robust RESTful web services with JAX-RS and Jersey extension APIs Rating: 0 out of 5 stars0 ratingsMastering Apache Maven 3 Rating: 0 out of 5 stars0 ratingsA Concise Guide to Microservices for Executive (Now for DevOps too!) Rating: 1 out of 5 stars1/5Mastering Akka Rating: 0 out of 5 stars0 ratingsMicroservices: Novice To Ninja: Build, Design And Deploy Distributed Services Rating: 0 out of 5 stars0 ratingsCode with Java 21: A practical approach for building robust and efficient applications (English Edition) Rating: 0 out of 5 stars0 ratingsApache Maven Cookbook Rating: 3 out of 5 stars3/5Rails 4 For Startups Using Mobile And Single Page Applications Rating: 0 out of 5 stars0 ratingsAndroid Application Development with Maven Rating: 0 out of 5 stars0 ratingsMockito for Spring Rating: 0 out of 5 stars0 ratingsEclipse Plug-in Development: Beginner's Guide - Second Edition Rating: 0 out of 5 stars0 ratingsSpring 2.5 Aspect Oriented Programming Rating: 0 out of 5 stars0 ratingsMastering Spring Application Development Rating: 1 out of 5 stars1/5Elixir Programming: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsJavaScript for .NET Developers Rating: 0 out of 5 stars0 ratingsHarnessing the Power of Firebase and Google Cloud Platform: A Comprehensive Guide for Developers Rating: 0 out of 5 stars0 ratingsJava and Java EE Interview Preparations Rating: 0 out of 5 stars0 ratingsLearning Concurrent Programming in Scala - Second Edition Rating: 0 out of 5 stars0 ratingsGradle for Android Rating: 0 out of 5 stars0 ratingsGit Best Practices Guide Rating: 0 out of 5 stars0 ratingsMastering Gradle Rating: 0 out of 5 stars0 ratingsMastering Eclipse Plug-in Development Rating: 0 out of 5 stars0 ratings
Programming For You
Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Python: Learn Python in 24 Hours 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/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5PYTHON PROGRAMMING Rating: 4 out of 5 stars4/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Beginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsMicrosoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsLearn NodeJS in 1 Day: Complete Node JS Guide with Examples Rating: 3 out of 5 stars3/5Photoshop For Beginners: Learn Adobe Photoshop cs5 Basics With Tutorials Rating: 0 out of 5 stars0 ratingsHTML, XHTML and CSS For Dummies Rating: 4 out of 5 stars4/5The Recursive Book of Recursion: Ace the Coding Interview with Python and JavaScript Rating: 0 out of 5 stars0 ratingsLearn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 5 out of 5 stars5/5Python 3 Object Oriented Programming Rating: 4 out of 5 stars4/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