Instant OSGi Starter
By Jamie Goodyear and Johan Edstrom
()
About this ebook
Read more from Jamie Goodyear
OpenDaylight Cookbook Rating: 0 out of 5 stars0 ratingsApache Karaf Cookbook Rating: 0 out of 5 stars0 ratings
Related to Instant OSGi Starter
Related ebooks
Rails 4 For Startups Using Mobile And Single Page Applications 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 ratingsApache Maven Cookbook Rating: 3 out of 5 stars3/5Mastering Java EE Development with WildFly 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 ratingsAndroid Application Development with Maven Rating: 0 out of 5 stars0 ratingsJAVA 9.0 To 13.0 New Features: Learn, Implement and Migrate to New Version of Java. Rating: 0 out of 5 stars0 ratingsIntroduction to JVM Languages Rating: 0 out of 5 stars0 ratingsLearning Concurrent Programming in Scala - Second Edition Rating: 0 out of 5 stars0 ratingsTesting with JUnit Rating: 0 out of 5 stars0 ratingsEclipse Plug-in Development: Beginner's Guide - Second Edition Rating: 0 out of 5 stars0 ratingsMockito for Spring Rating: 0 out of 5 stars0 ratingsWhere to Place My Project: Code Hosting Platforms Rating: 0 out of 5 stars0 ratingsPhpStorm Cookbook Rating: 0 out of 5 stars0 ratingsApache Camel Developer's Cookbook Rating: 0 out of 5 stars0 ratingsMastering Eclipse Plug-in Development Rating: 0 out of 5 stars0 ratingsMockito Cookbook Rating: 0 out of 5 stars0 ratingsNative Docker Clustering with Swarm Rating: 0 out of 5 stars0 ratingsGradle for Android Rating: 0 out of 5 stars0 ratingsSoapUI Cookbook Rating: 0 out of 5 stars0 ratingsSpring Essentials: Build mission-critical enterprise applications using Spring Framework and Aspect Oriented Programming Rating: 0 out of 5 stars0 ratingsMastering Java Persistence: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsAndroid NDK: Beginner's Guide - Second Edition Rating: 0 out of 5 stars0 ratingsBuild Serverless Apps on Kubernetes with Knative: Build, deploy, and manage serverless applications on Kubernetes (English Edition) Rating: 0 out of 5 stars0 ratingsAPI Management with Bruno Rating: 0 out of 5 stars0 ratingsStep-by-Step Angular Routing: Learn To Create client-side and Single Page Apps with Routing and Navigation Rating: 0 out of 5 stars0 ratings100+ Solutions in Java - 2nd Edition: Everything you need to know to develop Java applications (English Edition) Rating: 0 out of 5 stars0 ratings
Programming For You
Learn Python in 10 Minutes Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5PYTHON PROGRAMMING Rating: 4 out of 5 stars4/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali Rating: 4 out of 5 stars4/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsAlgorithms For Dummies Rating: 4 out of 5 stars4/5Godot from Zero to Proficiency (Beginner): Godot from Zero to Proficiency, #2 Rating: 5 out of 5 stars5/5TensorFlow in 1 Day: Make your own Neural Network Rating: 4 out of 5 stars4/5Narrative Design for Indies: Getting Started Rating: 4 out of 5 stars4/5Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming Rating: 4 out of 5 stars4/5Coding with JavaScript For Dummies Rating: 0 out of 5 stars0 ratingsPython Data Structures and Algorithms Rating: 5 out of 5 stars5/5Beginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Godot from Zero to Proficiency (Foundations): Godot from Zero to Proficiency, #1 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
