Enterprise OSGi In Action


Book Description

Summary Enterprise OSGI in Action is a hands-on guide for developers using OSGi to build the next generation of enterprise Java applications. By presenting relevant examples and case studies, this book guides the reader through the maze of new standards and projects. About This Book Enterprise OSGi is a set of standards for building modular Java applications which integrate seamlessly with existing Java EE technologies. It extends the OSGi component framework to distributed systems. Enterprise OSGi in Action is a hands-on guide for developers using OSGi to build enterprise Java applications. Many examples and case studies show you how to build, test, and deploy modular web applications. The book explains how to take advantage of dynamism, distribution, and automatic dependency provisioning, while still integrating with existing Java EE applications. The book is written for Java EE developers. No prior experience with OSGi is required. What's Inside Build modular applications using servlets, JSPs, WARs, and JPA Better component reuse and robustness Expert tips for Apache Aries Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Authors Holly Cummins and Tim Ward are lead engineers who regularlyspeak at developerWorks, Devoxx, JavaZone, and EclipseCon. Tim has written standards in both the OSGi Core and Enterprise Specifications and both authors are active Apache Aries committers. Table of Contents PART 1 PROGRAMMING BEYOND HELLO WORLD OSGi and the enterprise—why now? Developing a simple OSGi-based web application Persistence pays off Packaging your enterprise OSGi applications PART 2 BUILDING BETTER ENTERPRISE OSGI APPLICATIONS Best practices for enterprise applications Building dynamic applications with OSGi services Provisioning and resolution Tools for building and testing IDE development tools PART 3 INTEGRATING ENTERPRISE OSGI WITH EVERYTHING ELSE Hooking up remote systems with distributed OSGi Migration and integration Coping with the non-OSGi world Choosing a stack




Enterprise OSGi in Action


Book Description

Summary Enterprise OSGI in Action is a hands-on guide for developers using OSGi to build the next generation of enterprise Java applications. By presenting relevant examples and case studies, this book guides the reader through the maze of new standards and projects. About This Book Enterprise OSGi is a set of standards for building modular Java applications which integrate seamlessly with existing Java EE technologies. It extends the OSGi component framework to distributed systems. Enterprise OSGi in Action is a hands-on guide for developers using OSGi to build enterprise Java applications. Many examples and case studies show you how to build, test, and deploy modular web applications. The book explains how to take advantage of dynamism, distribution, and automatic dependency provisioning, while still integrating with existing Java EE applications. The book is written for Java EE developers. No prior experience with OSGi is required. What's Inside Build modular applications using servlets, JSPs, WARs, and JPA Better component reuse and robustness Expert tips for Apache Aries Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Authors Holly Cummins and Tim Ward are lead engineers who regularlyspeak at developerWorks, Devoxx, JavaZone, and EclipseCon. Tim has written standards in both the OSGi Core and Enterprise Specifications and both authors are active Apache Aries committers. Table of Contents PART 1 PROGRAMMING BEYOND HELLO WORLD OSGi and the enterprise—why now? Developing a simple OSGi-based web application Persistence pays off Packaging your enterprise OSGi applications PART 2 BUILDING BETTER ENTERPRISE OSGI APPLICATIONS Best practices for enterprise applications Building dynamic applications with OSGi services Provisioning and resolution Tools for building and testing IDE development tools PART 3 INTEGRATING ENTERPRISE OSGI WITH EVERYTHING ELSE Hooking up remote systems with distributed OSGi Migration and integration Coping with the non-OSGi world Choosing a stack




OSGi in Action


Book Description

What is OSGi? Simply put, OSGi is a standardized technology that allowsdevelopers to create the highly modular Java applications that are required forenterprise development. OSGi lets you install, start, stop, update, or uninstallcomponents without taking down your entire system. The interest in OSGi basedapplications has exploded since major vendors like Sun, Spring, Oracle,BEA, and IBM have gotten behind the standard. OSGi in Action is a comprehensive guide to OSGi with two primary goals.First, it provides a clear introduction to OSGi concepts with examples that arerelevant both for architects and developers. Then, it explores numerous practicalscenarios and techniques, answering questions like: How much of OSGi doyou actually need? How do you embed OSGi inside other containers? What arethe best practices for moving legacy systems to OSGi? Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.




Building Modular Cloud Apps with OSGi


Book Description

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




Spring Integration in Action


Book Description

Summary Spring Integration in Action is a hands-on guide to Spring-based messaging and integration. After addressing the core messaging patterns, such as those used in transformation and routing, the book turns to the adapters that enable integration with external systems. Readers will explore real-world enterprise integration scenarios using JMS, Web Services, file systems, and email. They will also learn about Spring Integration's support for working with XML. The book concludes with a practical guide to advanced topics such as concurrency, performance, system-management, and monitoring. The book features a foreword by Rod Johnson, Founder of the Spring Network. About the Technology Spring Integration extends the Spring Framework to support the patterns described in Gregor Hohpe and Bobby Woolf's Enterprise Integration Patterns. Like the Spring Framework itself, it focuses on developer productivity, making it easier to build, test, and maintain enterprise integration solutions. About the Book Spring Integration in Action is an introduction and guide to enterprise integration and messaging using the Spring Integration framework. The book starts off by reviewing core messaging patterns, such as those used in transformation and routing. It then drills down into real-world enterprise integration scenarios using JMS, Web Services, filesystems, email, and more. You'll find an emphasis on testing, along with practical coverage of topics like concurrency, scheduling, system management, and monitoring. This book is accessible to developers who know Java. Experience with Spring and EIP is helpful but not assumed. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Realistic examples Expert advice from Spring Integration creators Detailed coverage of Spring Integration 2 features About the Authors Mark Fisher is the Spring Integration founder and project lead. Jonas Partner, Marius Bogoevici, and Iwein Fuld have all been project committers and are recognized experts on Spring and Spring Integration. Table of Contents PART 1 BACKGROUND Introduction to Spring Integration Enterprise integration fundamentals 24 PART 2 MESSAGING Messages and channels Message Endpoints Getting down to business Go beyond sequential processing: routing and filtering Splitting and aggregating messages PART 3 INTEGRATING SYSTEMS Handling messages with XML payloads Spring Integration and the Java Message Service Email-based integration Filesystem integration Spring Integration and web services Chatting and tweeting PART 4 ADVANCED TOPICS Monitoring and management Managing scheduling and concurrency Batch applications and enterprise integration Scaling messaging applications with OSGi Testing




OSGi in Depth


Book Description

Summary OSGi in Depth shows Java developers how to develop to the OSGi Service Platform Enterprise specification, an emerging Java-based technology for developing modular enterprise applications. About the Technology OSGi is a mature framework for developing modular Java applications. Because of its unique architecture, you can modify, add, remove, start, and stop parts of an application without taking down the whole system. You get a lot of benefit by mastering the basics, but OSGi really pays off when you dig in a little deeper. About this Book OSGi in Depth presents practical techniques for implementing OSGi, including enterprise services such as management, configuration, event handling, and software component models. You'll learn to custom-tailor the OSGi platform, which is itself modular, and discover how to pick and choose services to create domain-specific frameworks for your business. Also, this book shows how you can use OSGi with existing JEE services, such as JNDI and JTA. Written for Java developers who already know the basics, OSGi in Depth picks up where OSGi in Action leaves off. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Deep dives into modularization, implementation decoupling, and class-loading Practical techniques for using JEE services Customizing OSGi for specific business domains ========================================​===== Table of Contents OSGi as a new platform for application development An OSGi framework primer The auction application: an OSGi case study In-depth look at bundles and services Configuring OSGi applications A world of events The persistence bundle Transactions and containers Blending OSGi and Java EE using JNDI Remote services and the cloud Launching OSGi using start levels Managing with JMX Putting it all together by extending Blueprint




Spring Dynamic Modules in Action


Book Description

Java EE developers increasingly want to utilize OSGi to develop modular applications for component and service-based architectures. But tools required for OSGi implementation have been slow to develop. Spring Dynamic Modules (Spring DM) is a framework that simplifies the creation of component and service-oriented architectures with OSGi, to build modular Java applications using the powerful Spring framework. Spring Dynamic Modules in Action presents the fundamental concepts of OSGi-basedapps and maps them to the familiar ideas of the Spring framework. Then, it teaches the techniques and concepts required to develop stable, flexible enterprise apps. Along the way, readers will learn to incorporate other topics including dependency injection and unit testing in an OSGi-based environment. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.




Activiti in Action


Book Description

Summary Activiti in Action is a comprehensive tutorial designed to introduce developers to the world of business process modeling using Activiti. Before diving into the nuts and bolts of Activiti, this book presents a solid introduction to BPMN 2.0 from a developer's perspective. About the Technology Activiti streamlines the implemention of your business processes: with Activiti Designer you draw your business process using BPMN. Its XML output goes to the Activiti Engine which then creates the web forms and performs the communications that implement your process. It's as simple as that. Activiti is lightweight, integrates seamlessly with standard frameworks, and includes easy-to-use design and management tools. About the Book Activiti in Action introduces developers to business process modeling with Activiti. You'll start by exploring BPMN 2.0 from a developer's perspective. Then, you'll quickly move to examples that show you how to implement processes with Activiti. You'll dive into key areas of process modeling, including workflow, ESB usage, process monitoring, event handling, business rule engines, and document management integration. Written for business application developers. Familiarity with Java and BPMN is helpful but not required. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Activiti from the ground up Dozens of real-world examples Integrate with standard Java tooling Table of Contents PART 1 INTRODUCING BPMN 2.0 AND ACTIVITI Introducing the Activiti framework BPMN 2.0: what's in it for developers? Introducing the Activiti tool stack Working with the Activiti process engine PART 2 IMPLEMENTING BPMN 2.0 PROCESSES WITH ACTIVITI Implementing a BPMN 2.0 process Applying advanced BPMN 2.0 and extensions Dealing with error handling Deploying and configuring the Activiti Engine Exploring additional Activiti modules PART 3 ENHANCING BPMN 2.0 PROCESSES Implementing advanced workflow Integrating services with a BPMN 2.0 process Ruling the business rule engine Document management using Alfresco Business monitoring and Activiti PART 4 MANAGING BPMN 2.0 PROCESSES? Managing the Activiti Engine




Restlet in Action


Book Description

Summary Restlet in Action gets you started with the Restlet Framework and the REST architecture style. You'll create and deploy applications in record time while learning to use popular RESTful Web APIs effectively. This book looks at the many aspects of web development, on both the server and client side, along with cloud computing, mobile Android devices, and Semantic Web applications. About the Technology In a RESTful architecture any component can act, if needed, as both client and server—this is flexible and powerful, but tricky to implement. The Restlet project is a reference implementation with a Java-based API and everything you need to build servers and web clients that integrate with most web and enterprise technologies. About the Book Restlet in Action introduces the Restlet Framework and RESTful web APIs. You'll see how to easily create and deploy your own web API while learning to consume other web APIs effectively. You'll learn about designing, securing, versioning, documentation, optimizing, and more on both the server and client side, as well as about cloud computing, mobile Android devices, and Semantic Web applications. The book requires a basic knowledge of Java and the web, but no prior exposure to REST or Restlet. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Written by the creators of Restlet! How to create your own web API How to deploy on cloud and mobile platforms Focus on Android, Google App Engine, Google Web Toolkit, and OSGi technologies Table of Contents PART 1 GETTING STARTED Introducing the Restlet Framework Beginning a Restlet application Deploying a Restlet application PART 2 GETTING READY TO ROLL OUT Producing and consuming Restlet representations Securing a Restlet application Documenting and versioning a Restlet application Enhancing a Restlet application with recipes and best practices PART 3 FURTHER USE POSSIBILITIES Using Restlet with cloud platforms Using Restlet in browsers and mobile devices Embracing hypermedia and the Semantic Web The future of Restlet




ActiveMQ in Action


Book Description

Applications in enterprises need to communicate, most commonly done by messaging. Apache ActiveMQ is an open-source implementation of the Java Message Service (JMS), which provides messaging in Java applications. ActiveMQ in Action is a thorough, practical guide to implementing message-oriented systems using ActiveMQ and Java. Co-authored by one of the leading ActiveMQ developers, Bruce Snyder, the book starts with the anatomy of a core Java message, then moves quickly through fundamentals including data persistence, authentication and authorization. Later chapters cover advanced features such as configuration and performance tuning, illustrating each concept with a running real-world stock portfolio application. Readers will learn to integrate ActiveMQ with Apache Geronimo and JBoss, and tie into both Java and non-Java technologies including AJAX, .NET, C++, Ruby, and the Spring framework. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.