OSGi and Apache Felix 3. 0 beginner's guide : build your very own OSGi applications using the flexible and powerful Felix Framework /
Annotation
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, U.K. :
Packt Pub.,
©2010.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Quick Intro to Felix and OSGi; What is OSGi?; The framework layout; The functional layers; The bundle lifecycle states; Bundle wiring; The shared service registry; Working with bundles; Anatomy of a bundle; The OSGi headers; Mandatory headers; Functional headers; Information headers; Start levels; The Start Level Service; The active start level; Using start levels; Apache Felix and sub-projects; Summary; Chapter 2: Setting Up the Environment; Setting up the Felix framework
- Checking that a JDK is installedDownload and unpack the Felix distribution; Time for action
- downloading and installing Felix; What's in the box?; Time for action
- starting Felix; Maven2 and Felix; Installing Maven2; Life-cycles and phases; Maven plugins; The POM; The Felix Maven Plugins; Summary; Chapter 3: Felix Gogo; The Tiny Shell Language; Chained execution; Variable assignment and referencing; Value types; Object properties and operations; Execution quotes; Commands and scopes; felix scope commands; Listing installed bundles: lb; help; install; update; resolve; stop and start
- Uninstallrefresh; headers and inspect; which; log; cd and ls; frameworklevel and bundlelevel; gogo scope commands; echo; grep; cat; tac; set; Summary; Chapter 4: Let's Get Started: The Bookshelf Project; A simple Bookshelf project; The data inventory tier; The business logic tier; The user interaction tier; OSGi, Felix, and...; Taking it step-by-step; Some conventions; Summary; Chapter 5: The Book Inventory Bundle; Set up the Book Inventory API Bundle project; Time for action
- setting up the project skeleton; Time for action
- creating the project POM; The Bundle identity
- More on bundle versionsDependencies; Customizing the build; Defining the distribution parameters; The Book bean interface; The Book bean attributes; Time for action
- creating the Book bean interface; The Book Inventory interface; Time for action
- writing the BookInventory interface; Build and deploy the bundle; Time for action
- building and deploying the bundle; Let's implement those interfaces; Time for action
- creating the POM; Time for action
- implementing a mutable book; Time for action
- implementing the mock (memory-stored); Book Inventory; The factory method
- Implementing a mock getGoups()Storing a book; Removing a stored book; Loading a stored book; Implementing the book search; Writing the Bundle Activator; Time for action
- add a dependency to the OSGi Core library; Time for action
- creating the Activator; More on Bundle Contexts; Time for action
- declaring Bundle-Activator; Build and deploy the bundle; Summary; Chapter 6: Using the OSGi Bundle Repository; OBR, the OSGi Bundle Repository; The repository XML Descriptor; Updating the OBR repository; Using the OBR scope commands; obr:repos; obr:list; obr:info; obr:deploy