
Building Modular Cloud Apps with OSGi
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Preface
- Who Should Read This Book
- How This Book Is Organized
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Part I. Introducing Modularity in Java
- Chapter 1. Modularity Introduction
- Dealing with Increasing Complexity
- Divide and Conquer
- Service Oriented Architecture All Over Again?
- A Better Look at Modularity and What It Really Means
- Design Time Modularity
- Runtime Modularity
- Modularity Solutions
- OSGi
- Jigsaw
- JBoss Modules
- Maven
- Choosing a Solution: OSGi
- What Is OSGi?
- OSGi in the Real World
- Tooling
- Bndtools
- Maven with the BND Maven Plug-in
- Eclipse Tycho
- NetBeans and IntelliJ
- Chapter 2. Basic Concepts of OSGi
- Hiding Implementations
- Import Package Myths
- Depending on Other Modules
- Service Dynamics
- The Bundle Format
- Bundle-SymbolicName
- Bundle-Name
- Bundle-Version
- Import-Package
- Export-Package
- Bundle-Activator
- Running an OSGi Application
- The Framework Lifecycle
- Chapter 3. Creating the First OSGi Application
- Prerequisites
- Getting Started
- Creating an API Bundle
- Creating an OSGi Service
- Running the Code
- Using the Agenda Service
- Service Instances
- Understanding Service Dynamics
- Services and Bundle States
- Debugging Services
- Having Multiple Service Implementations
- Service Properties
- Service Ranking
- Service Registration and Deregistration Callbacks
- Injecting Multiple Service Implementations and the Whiteboard Pattern
- Lifecycle Callbacks
- Injecting BundleContext and DependencyManager
- Chapter 4. Advanced OSGi
- Semantic Versioning
- Provider and Consumer Types
- Baselining in Bndtools
- Semantic Bundle Versioning
- Integration Testing
- Writing Integration Tests
- Running Integration Tests
- Configuring Services
- Managed Services
- Configuring a Managed Service
- Required Configuration
- Managed Service Factories
- MetaType
- Providing Configuration
- Log Service
- Installing and Using the LogService
- Logging Performance
- Extender Pattern
- Event Admin
- Using Event Admin
- Aspect Services
- The Bundle Cache
- Chapter 5. Pointers and Pitfalls
- Better Understanding OSGi Specifications
- Require Bundle
- Fragment Bundles
- Loading Extra System Packages
- Profilers, Coverage Tools, and Bootpath Delegation
- Dealing with Non-OSGi Libraries
- Transitive Dependencies
- Classloading Problems in Libraries and Frameworks
- Passing the Bundle Classloader Manually
- Handling Classpath Scanning
- The Low-Level Service API
- Registering Services
- Using Services
- Service Tracker
- Dynamic Classloading
- DynamicImport-Package
- Optional Import-Package
- Part II. Developing Cloud Applications
- Chapter 6. Cloud Application Architecture
- Technology Stack
- The Amdatu Project
- The Layered Architecture
- Inside a Bundle
- API Bundles
- Separation of Concerns
- Services Are Responsible for Their Own Data
- Bndtools Project Structure
- Comparing with SOA Again
- Remoting
- Chapter 7. Architectural Capabilities
- Maintainability
- Extensibility
- Scalability
- Testability
- Chapter 8. Creating Web Applications
- Modular Web Applications
- HTTP Service
- Taking It One Step Further with Servlets
- Adding Filters into the Mix
- Handling Web Resources Automatically
- Rethinking Web Applications
- RESTful Web Services
- Getting Started
- Implementing an Agenda Resource
- Extending the Agenda Resource
- Simplified Object Mapping
- Self-Documenting RESTful Endpoints
- Modularizing RESTful Resources
- Modular User Interfaces Using HTML 5
- Token Based Security
- Using the Token Provider
- Web Application Bundles
- OpenSocial
- Getting Started
- Creating Gadgets
- Chapter 9. Persistence
- Relational Databases
- JDBC
- Object Relational Mapping with JPA
- NoSQL
- Document Stores
- Using MongoDB as a Document Store
- Getting Started
- Implementing a Persistent Service
- Using the MongoDB Query System
- Taking It Back to the Web
- Part III. Deploying Applications in the Cloud
- Chapter 10. Deployment
- Understanding OSGi Runtimes
- Choosing an OSGi Framework for Deployment
- IaaS versus PaaS versus SaaS
- A Modular PaaS
- Apache ACE
- Installing Apache ACE
- Starting Deployment Targets
- Creating a Deployment
- Incremental Updates
- Deploying Configuration
- Parameterized Configuration
- Solving Deployment Issues
- Configuring the Apache ACE Launcher
- Autoscaling
- Chapter 11. Alternative Deployment Methods
- Packaging an Application as an Executable JAR
- Application Servers
- Oracle GlassFish Application Server
- RedHat JBoss Application Server
- IBM WebSphere® Application Server
- Apache Karaf
- Eclipse Virgo
- Appendix A. Example Application
- Introduction
- Finding and Running the Source Code
- Layered View
- Component View
- Development View
- Modularized Frontend
- Authentication
- Configuration Admin
- Scheduled Jobs
- Event Admin
- Testing
- Index
- About the Authors
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.