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 ratingsHands-On Parallel Programming with C# 8 and .NET Core 3: Build solid enterprise software using task parallelism and multithreading Rating: 0 out of 5 stars0 ratingsModular Programming with PHP 7 Rating: 0 out of 5 stars0 ratingsGo Programming Blueprints Rating: 0 out of 5 stars0 ratingsNginx Essentials Rating: 0 out of 5 stars0 ratingsNginx Troubleshooting Rating: 0 out of 5 stars0 ratingsRESTful Web API Design with Node.js - Second Edition Rating: 1 out of 5 stars1/5Mastering Spring 5.0 Rating: 5 out of 5 stars5/5OSGi in Action: Creating Modular Applications in Java Rating: 0 out of 5 stars0 ratingsSpring Microservices Rating: 0 out of 5 stars0 ratingsDomain Driven Design A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsDocker A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsApache Camel Developer's Cookbook Rating: 0 out of 5 stars0 ratingsBeyond Effective Go: Part 1 - Achieving High-Performance Code Rating: 0 out of 5 stars0 ratingsApache Karaf Cookbook Rating: 0 out of 5 stars0 ratingsOpenID Connect - End-user Identity for Apps and APIs: API-University Series, #6 Rating: 0 out of 5 stars0 ratingsFundamental Data Compression Rating: 5 out of 5 stars5/5The Way to Go: A Thorough Introduction to the Go Programming Language Rating: 2 out of 5 stars2/5Multi-Hosting Application & Balloon Services: A Novel Cloud Native Architecture & Its Ecosystem Rating: 0 out of 5 stars0 ratingsErlang and OTP in Action Rating: 0 out of 5 stars0 ratingsLearning RabbitMQ Rating: 0 out of 5 stars0 ratingsPHP Error Reporting: How To Do It Right Rating: 0 out of 5 stars0 ratingsDesign Patterns Third Edition Rating: 0 out of 5 stars0 ratingsVagrant Virtual Development Environment Cookbook Rating: 5 out of 5 stars5/5Mastering OAuth 2.0 Rating: 5 out of 5 stars5/5GitLab Cookbook Rating: 0 out of 5 stars0 ratingsSoftware Patterns Made Easy Rating: 0 out of 5 stars0 ratings
Programming For You
Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5C# 7.0 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsLearn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people 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/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL 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/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5C# Programming from Zero to Proficiency (Introduction): C# from Zero to Proficiency, #0 Rating: 0 out of 5 stars0 ratingsRaspberry Pi Cookbook for Python Programmers Rating: 0 out of 5 stars0 ratingsPython QuickStart Guide: The Simplified Beginner's Guide to Python Programming Using Hands-On Projects and Real-World Applications Rating: 0 out of 5 stars0 ratingsHTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Linux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsPython Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5C# Programming from Zero to Proficiency (Beginner): C# from Zero to Proficiency, #2 Rating: 0 out of 5 stars0 ratingsHacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Python GUI Programming Cookbook - Second Edition Rating: 5 out of 5 stars5/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/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