tailieunhanh - OSGi in Action: Creating Modular Applications in Java

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 are relevant both for architects and developers. Then, it explores numerous practical scenarios and techniques, answering questions like: How much of OSGi do you actually need? How do you embed OSGi inside other containers? What are the best practices for moving legacy systems to OSGi? | OSGi in Action Creating Modular Applications in Java RICHARD S. hall KARL PAULS STUART McCulloch DAVID savage II MANNING Greenwich 74 w. long. For online information and ordering of this and other Manning books please visit . The publisher offers discounts on this book when ordered in quantity. For more information please contact Special Sales Department Manning Publications Co. 180 Broad Street Suite 1323 Stamford CT 06901 Email orders@ 2011 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by means electronic mechanical photocopying or otherwise without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book and Manning Publications was aware of a trademark claim the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written it is Manning s policy to have the books we publish printed on acid-free paper and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine. Manning Publications Co. II 180 Broad Street Suite 1323 Stamford CT 06901 Development editor Cynthia Kane Copyeditor Tiffany Taylor Typesetter Gordan Salinovic Illustrator Martin Murtonen Cover designer Marija Tudor ISBN 9781933988917 Printed in the United States of America 123456789 10 - MAL - 16 15 14 13 12 11 brief contents Part 1 Introducing OSGi modularity lifecycle and services 1 1 OSGi revealed 3 2 Mastering modularity 24 3 Learning lifecycle 69 4 Studying services 117 5 Delving deeper into modularity 154 Part 2 OSGi in 6 Moving .