,

Building Modular Cloud Apps with OSGi

Practical Modularity with Java in the Clouyd Age

Specificaties
Paperback, 190 blz. | Engels
O'Reilly | 1e druk, 2013
ISBN13: 9781449345150
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 1e druk, 2013 9781449345150
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

If you're an experienced Java developer in the enterprise, this practical, hands-on book shows you how to use OSGi to design, develop, and deploy modular cloud applications. You'll quickly learn how to use OSGi, through concise code examples and a set of best practices derived from the authors' experiences with real-world projects.

Through the course of this book, you'll learn to develop modern web applications with tools and techniques such as RESTful Web Services, NoSQL, provisioning, elasticity, Auto Scaling, hotfixes, and automatic failover. Code samples are available from GitHub.

- Work with dynamic OSGi services to create modular applications
- Explore the basics of OSGi bundles and modular application design
- Learn advanced topics, including semantic versioning, integration testing, and configuring components
- Understand OSGi pitfalls, anti-patterns, and features you should avoid
- Create a modular architecture for cloud-based web applications
- Discover how maintainability, extensibility, scalability, and testability are affected by modular design
- Get a look at various options for creating web applications with a modular approach
- Interact with persistent storage services, including relational databases and NoSQL
- Examine alternatives for deploying modular applications to the cloud

Specificaties

ISBN13:9781449345150
Taal:Engels
Bindwijze:paperback
Aantal pagina's:190
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:29-9-2013

Inhoudsopgave

Preface

Part 1: Introducing Modularity in Java
1. Modularity Introduction
-Dealing with Increasing Complexity complexity
-Divide and Conquer
-Service Oriented Architecture All Over Again?
-A Better Look at Modularity and What It Really Means
-Modularity Solutions
-Choosing a Solution: OSGi
-Tooling

2. Basic Concepts of OSGi
-Hiding Implementations
-Import Package Myths
-Depending on Other Modules
-Service Dynamics
-The Bundle Format bundlesformat
-Running an OSGi Application
-The Framework Lifecycle

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

4. Advanced OSGi
-Semantic Versioning
-Integration Testing
-Configuring Services Configuration Admin APIconfiguring services
-Log Service
-Extender Pattern
-Event Admin
-Aspect Services
-The Bundle Cache

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 transitive dependencies
-Classloading Problems in Libraries and Frameworks
-The Low-Level Service API
-Dynamic Classloading

Part 2: Developing Cloud Applications
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 project structure
-Comparing with SOA Again
-Remoting

7. Architectural Capabilities system capabilities
-Maintainability
-Extensibility
-Scalability scalability
-Testability mocking

8. Creating Web Applications
-Modular Web Applications
-HTTP Service
-Handling Web Resources Automatically X-Web-Resource-Version header
-Rethinking Web Applications
-RESTful Web Services
-Modular User Interfaces Using HTML 5
-Token Based Security
-Web Application Bundles
-OpenSocial

9. Persistence
-Relational Databases
-NoSQL

Part 3: Deploying Applications in the Cloud
10. Deployment
-Understanding OSGi Runtimes
-Choosing an OSGi Framework for Deployment
-IaaS versus PaaS versus SaaS
-A Modular PaaS
-Apache ACE provisioning
-Creating a Deployment
-Autoscaling

11. Alternative Deployment Methods
-Packaging an Application as an Executable JAR
-Application Servers Application Servers
-
Appendix A: Example Application

Index

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Building Modular Cloud Apps with OSGi