当前位置:网站首页>图书 > 正文 >>

Instant OSGi Starter

图书信息

作者Jamie Goodyear
出版社Packt Publishing
ISBN9781849519939
出版时间2013-01-24
字数119.3万
分类进口书,外文原版书,电脑,网络

读书简介

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 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

Twitter