没有合适的资源?快使用搜索试试~ 我知道了~
首页OSGi and Apache Felix 3.0 Beginner's Guide
资源详情
资源评论
资源推荐
OSGi and Apache Felix 3.0
Beginner’s Guide
Copyright © 2010 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmied in any form or by any means, without the prior wrien permission of the
publisher, except in the case of brief quotaons embedded in crical arcles or reviews.
Every eort has been made in the preparaon of this book to ensure the accuracy of the
informaon presented. However, the informaon contained in this book is sold without
warranty, either express or implied. Neither the author, 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 informaon about all of the
companies and products menoned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this informaon.
First published: November 2010
Producon Reference: 1291010
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN 978-1-849511-38-4
www.packtpub.com
Cover Image by John M. Quick (john.m.quick@gmail.com)
www.it-ebooks.info
Table of Contents
Preface 1
Chapter 1: Quick Intro to Felix and OSGi 7
What is OSGi? 8
The framework layout 10
The funconal layers 10
The bundle lifecycle states 12
Bundle wiring 13
The shared service registry 14
Working with bundles 15
Anatomy of a bundle 15
The OSGi headers 16
Mandatory headers 16
Funconal headers 17
Informaon headers 18
Start levels 18
The Start Level Service 18
The acve start level 18
Using start levels 20
Apache Felix and sub-projects 21
Summary 24
Chapter 2: Seng Up the Environment 25
Seng up the Felix framework 25
Checking that a JDK is installed 26
Download and unpack the Felix distribuon 27
Time for acon – downloading and installing Felix 27
What's in the box? 28
Time for acon – starng Felix 28
www.it-ebooks.info
Table of Contents
[ ii ]
Maven2 and Felix 30
Installing Maven2 30
Life-cycles and phases 30
Maven plugins 32
The POM 32
The Felix Maven Plugins 32
Summary 33
Chapter 3: Felix Gogo 35
The Tiny Shell Language 36
Chained execuon 36
Variable assignment and referencing 37
Value types 37
Object properes and operaons 38
Execuon quotes 38
Commands and scopes 39
felix scope commands 39
Lisng installed bundles: lb 40
help 40
install 43
update 44
resolve 45
stop and start 45
uninstall 46
refresh 46
headers and inspect 47
which 49
log 50
cd and ls 50
frameworklevel and bundlelevel 52
gogo scope commands 54
echo 54
grep 54
cat 55
tac 56
set 57
Summary 58
Chapter 4: Let's Get Started: The Bookshelf Project 59
A simple Bookshelf project 60
The data inventory er 61
www.it-ebooks.info
剩余321页未读,继续阅读
rubensa
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2