If you want exposure to the new open source lightweight SOA-driven Apache Beehive framework project, then pick up Pro Apache Beehive, the first book on this MVC Web framework, which is increasingly gaining interest in the Eclipse community through Eclipse Pollinate. Author Kunal Mittal addresses specific Beehive topics such as page flows, controls, JSR 181 web services, XMLBeans and more. This book proceeds to describe how these technologies are used in WebLogic Workshop, and how other IDEs are extending support for these technologies. Mittal also compares PageFlows in Workshop to the Standard.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Srini Kanchanavally is a software architect with Coreobjects Software Inc. in Los Angeles. He has in-depth understanding of Java and J2EE. He also has vast experience designing large-scale J2EE application architectures. Srini has worked with Java, J2EE, Struts, WebLogic, and WebLogic Portal on client projects. And he has several years of experience working with various open source frameworks and tools like JBoss/Tomcat, MYSQL, JUnit, and HTTPUnit.
Pro Apache Beehive KUNAL MITTAL AND SRINIVAS KANCHANAVALLY Pro Apache Beehive Copyright © 2005 by Kunal Mittal and Srinivas Kanchanavally All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN (pbk): 1-59059-515-7 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Steve Anglin Technical Reviewer: Dilip Thomas Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore, Jonathan Hassell, Chris Mills, Dominic Shakeshaft, Jim Sumser Associate Publisher: Grace Wong Project Manager: Kylie Johnston Copy Edit Manager: Nicole LeClerc Copy Editor: Kim Wimpsett Assistant Production Director: Kari Brooks-Copony Production Editor: Linda Marousek Compositor: Susan Glinert Stevens Proofreader: Sue Boshers Indexer: Carol A. Burbo Artist: Wordstop Technologies (P) Ltd, Chennai, India Interior Designer: Van Winkle Design Group Cover Designer: Kurt Krames Manufacturing Manager: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com, or visit http://www.springeronline.com. For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com. The information in this book is distributed on an "as is" basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at http://www.apress.com in the Downloads section. vii Contents Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi ■CHAPTER 1 What’s Apache Beehive? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Enterprise Application Development: The Challenges . . . . . . . . . . . . . . . . 1 Delivering to the Customer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Getting the Best Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Securing Your Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Integrating Your Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Having Freedom of Choice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 How Java Fits Into All of This . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 The Growth of Java. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 The Role of J2EE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Introducing Service-Oriented Architecture (SOA) . . . . . . . . . . . . . . . . . . . . 7 Introducing BEA WebLogic Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 BEA WebLogic Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 BEA WebLogic Workshop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 BEA WebLogic Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 BEA WebLogic Portal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 BEA WebLogic JRockit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 What Does BEA WebLogic Platform Provide? . . . . . . . . . . . . . . . . . . . . . . . 9 Exploring the History of BEA WebLogic Workshop . . . . . . . . . . . . . . . . . . 10 Introducing Apache Beehive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Introducing XMLBeans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 So, What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 viii ■CONTENTS ■CHAPTER 2 Introducing Web Services and SOA Fundamentals . . . . . . 15 Introducing Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Web Service Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Basic Web Service Technologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Enterprise-Class Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Introducing SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What’s a Service? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Defining SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Defining Service-Oriented Programming . . . . . . . . . . . . . . . . . . . . . . 22 Exploring the Role of XML in SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 How Does Apache Beehive Enable SOA? . . . . . . . . . . . . . . . . . . . . . . . . . . 23 How Do Controls Relate to SOA?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 How Do Apache Beehive Web Services Relate to SOA?. . . . . . . . . . 24 How Do XMLBeans Relate to SOA? . . . . . . . . . . . . . . . . . . . . . . . . . . 24 So, What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 ■CHAPTER 3 Introducing Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 What’s an Annotation? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Basic Java 1.5 Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 JSR 175 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 JSR 181 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Using Annotations in WebLogic Workshop . . . . . . . . . . . . . . . . . . . . . . . . . 32 Java Page Flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Web Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Introducing Apache Beehive Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Page Flows/NetUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Web Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 So, What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 ■CHAPTER 4 Dissecting Java Page Flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Introducing Java Page Flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Page Flows in WebLogic Workshop . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Page Flows in Apache Beehive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 ■CONTENTS ix Introducing Page Flow Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Page Flow Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 NetUI Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Reviewing Page Flow Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 So, What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 ■CHAPTER 5 Using NetUI and Page Flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Creating the Sample Bookstore Application . . . . . . . . . . . . . . . . . . . . . . . 65 Setting Up the Bookstore Application . . . . . . . . . . . . . . . . . . . . . . . . . 65 Running the Sample Bookstore Application. . . . . . . . . . . . . . . . . . . . 66 Looking at the Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Dissecting NetUI Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Examining the NetUI Tag Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Examining the NetUI-data Tag Library . . . . . . . . . . . . . . . . . . . . . . . . 93 Examining the NetUI-template Tag Library . . . . . . . . . . . . . . . . . . . . 97 Introducing Shared Flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Accessing Methods of the Shared Flow from Your Page Flow . . . . 99 Accessing Methods of the Shared Flow from Your JSP...
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
EUR 3,56 per la spedizione in U.S.A.
Destinazione, tempi e costiEUR 3,56 per la spedizione in U.S.A.
Destinazione, tempi e costiDa: Lucky's Textbooks, Dallas, TX, U.S.A.
Condizione: New. Codice articolo ABLIING23Mar2811580082102
Quantità: Più di 20 disponibili
Da: Basi6 International, Irving, TX, U.S.A.
Condizione: Brand New. New. US edition. Expediting shipping for all USA and Europe orders excluding PO Box. Excellent Customer Service. Codice articolo ABEJUNE24-195431
Quantità: 1 disponibili
Da: Romtrade Corp., STERLING HEIGHTS, MI, U.S.A.
Condizione: New. This is a Brand-new US Edition. This Item may be shipped from US or any other country as we have multiple locations worldwide. Codice articolo ABNR-131294
Quantità: 1 disponibili
Da: Books Puddle, New York, NY, U.S.A.
Condizione: Used. pp. 236. Codice articolo 26293626
Quantità: 1 disponibili
Da: Majestic Books, Hounslow, Regno Unito
Condizione: Used. pp. 236 Illus. Codice articolo 7587109
Quantità: 1 disponibili
Da: Biblios, Frankfurt am main, HESSE, Germania
Condizione: Used. pp. 236. Codice articolo 18293616
Quantità: 1 disponibili
Da: THE SAINT BOOKSTORE, Southport, Regno Unito
Hardback. Condizione: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days 502. Codice articolo C9781590595152
Quantità: Più di 20 disponibili
Da: Ria Christie Collections, Uxbridge, Regno Unito
Condizione: New. In. Codice articolo ria9781590595152_new
Quantità: Più di 20 disponibili
Da: Chiron Media, Wallingford, Regno Unito
PF. Condizione: New. Codice articolo 6666-IUK-9781590595152
Quantità: 10 disponibili
Da: Buchpark, Trebbin, Germania
Condizione: Sehr gut. Zustand: Sehr gut - Gepflegter, sauberer Zustand. | Seiten: 218 | Sprache: Englisch | Produktart: Bücher. Codice articolo 2169298/2
Quantità: 1 disponibili