Instant OSGi Starter [Instant]
| Print & eBook also available on: |
|
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
- Learn what can be done with OSGi and what it can bring to your development structure
- Build your first application and deploy to an OSGi runtime that simplifies your experience
- Discover an uncomplicated, conversational approach to learning OSGi for building and deploying modular applications
Book Details
Language : EnglisheBook : 58 pages
Release Date : January 2013
ISBN : 1849519927
ISBN 13 : 9781849519922
Author(s) : Jamie Goodyear, Johan Edstrom
Topics and Technologies : All Books, Instant, Java, Open Source
Table of Contents
Instant OSGi Starter- 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
- Import-Package
- 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
- Extender pattern
- People and places you should get to know
- Official sites
- Articles and tutorials
- Community
- Blogs
Jamie Goodyear
Johan Edstrom
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 1 submitted: last submission 17 May 2013In the Installation section, the description to install and start the bundles seem not to work. The following code works:
karaf@root> install mvn:starter/producer/1.0 Bundle ID: 70 karaf@root> install mvn:starter/consumer/1.0 Bundle ID: 71 karaf@root> list START LEVEL 100 , List Threshold: 50 ID State Blueprint Level Name [ 70] [Installed ] [ ] [ 80] producer (1.0.0) [ 71] [Installed ] [ ] [ 80] consumer (1.0.0) From here, you can start the bundles and continue the exercise.
Sorry, there are currently no downloads available for this title.
- Discover the basic tenets of the Open Services Gateway initiative and modular programming
- Deploy and manage your OSGi applications in a runtime container
- Gain familiarity with OSGi tooling
- Understand the Bundle as the most basic layer of OSGI modularity
- Master the OSGi Lifecycle model for modular code
- Gain exposure to key OSGi patterns such as Whiteboard and Extender
- Find more information and supporting communities for OSGi developers
OSGi is a tried and true modularity standard for Java. It has in recent years gained a lot of traction and tooling; becoming frequently used in Enterprise containers and distributed software systems.
"Instant OSGi Starter" is where you should start before beginning your first OSGi based project. You’ll be exposed to the core concepts, gain practical experience with the most important features, and learn about the basic tenets of modular code practices.
This book begins with the fundamental tools needed for building modular applications, top features with basic tenets of modular core practices and provides useful insights into resources and the community.
As this book progresses you will be able to get started programming in OSGi whilst looking at the default three layer design so the application will be architected towards modularity and simplicity.
Through exploring several tools and technologies and browsing the communities you will be able to work towards modular programming in OSGi.
Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. Using a practical approach with explanation where needed, the book will take an in depth look at what OSGi is and what it offers to Java programmers and development standards.
"Instant OSGi Starter" is intended for the senior Java programmer whom will be joining OSGi based projects, or for Architects looking to broaden their exposure to OSGi as a beneficial framework and runtime software system.
![Instant OSGi Starter [Instant] Instant OSGi Starter [Instant]](http://dgdsbygo8mp3h.cloudfront.net/sites/default/files/imagecache/productview_larger/9922OS.jpg)
