0% found this document useful (0 votes)
6 views

Implementing SOA Using Java EE 1st Edition B.V. Kumar instant download

The document is a promotional material for the book 'Implementing SOA Using Java EE' by B.V. Kumar, Prakash Narayan, and Tony Ng, which covers service-oriented architecture (SOA) using Java EE technologies. It provides links to various related Java programming books and emphasizes the importance of the Java Series for expert instruction in Java. The publication includes detailed information on SOA, web services, and various architectural evolutions in IT.

Uploaded by

aljaletns
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Implementing SOA Using Java EE 1st Edition B.V. Kumar instant download

The document is a promotional material for the book 'Implementing SOA Using Java EE' by B.V. Kumar, Prakash Narayan, and Tony Ng, which covers service-oriented architecture (SOA) using Java EE technologies. It provides links to various related Java programming books and emphasizes the importance of the Java Series for expert instruction in Java. The publication includes detailed information on SOA, web services, and various architectural evolutions in IT.

Uploaded by

aljaletns
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

Implementing SOA Using Java EE 1st Edition B.V.

Kumar pdf download

https://ebookname.com/product/implementing-soa-using-java-ee-1st-
edition-b-v-kumar/

Get Instant Ebook Downloads – Browse at https://ebookname.com


Instant digital products (PDF, ePub, MOBI) available
Download now and explore formats that suit you...

Advanced Java Programming Uttam Kumar Roy

https://ebookname.com/product/advanced-java-programming-uttam-
kumar-roy/

Beginning Java EE 6 Platform with GlassFish 3 1st


Edition Antonio Goncalves

https://ebookname.com/product/beginning-java-ee-6-platform-with-
glassfish-3-1st-edition-antonio-goncalves/

Beginning EJB 3 2nd Edition Java EE 7 Edition Jonathan


Wetherbee

https://ebookname.com/product/beginning-ejb-3-2nd-edition-java-
ee-7-edition-jonathan-wetherbee/

Suzy Gershman s Born to Shop Hong Kong Shanghai Beijing


The Ultimate Guide for Travelers Who Love to Shop Born
To Shop 3rd edition Suzy Gershman

https://ebookname.com/product/suzy-gershman-s-born-to-shop-hong-
kong-shanghai-beijing-the-ultimate-guide-for-travelers-who-love-
to-shop-born-to-shop-3rd-edition-suzy-gershman/
The Shadow of God and the Hidden Imam Religion
Political Order and Societal Change in Shi ite Iran
from the Beginning to 1890 Said Amir Arjomand

https://ebookname.com/product/the-shadow-of-god-and-the-hidden-
imam-religion-political-order-and-societal-change-in-shi-ite-
iran-from-the-beginning-to-1890-said-amir-arjomand/

The Gale Encyclopedia of Mental Disorders Volume 1 A L


3rd Edition Madeline Harris

https://ebookname.com/product/the-gale-encyclopedia-of-mental-
disorders-volume-1-a-l-3rd-edition-madeline-harris/

Religion Dynasty and Patronage in Early Christian Rome


300 900 1st Edition Kate Cooper (Editor)

https://ebookname.com/product/religion-dynasty-and-patronage-in-
early-christian-rome-300-900-1st-edition-kate-cooper-editor/

The World of Child Labor A Historical and Regional


Survey 1st Edition Hugh D. Hindman

https://ebookname.com/product/the-world-of-child-labor-a-
historical-and-regional-survey-1st-edition-hugh-d-hindman/

The Cambridge Companion To Utopian Literature 1st


Edition Edition Gregory Claeys

https://ebookname.com/product/the-cambridge-companion-to-utopian-
literature-1st-edition-edition-gregory-claeys/
Democratic Justice and the Social Contract 1st Edition
Albert Weale

https://ebookname.com/product/democratic-justice-and-the-social-
contract-1st-edition-albert-weale/
Implementing SOA
Using Java™ EE

The Java Series

Visit informit.com/thejavaseries for a complete list of available publications.

ublications in The Java ™ Series are supported, endorsed, and


P written by the creators of Java at Sun Microsystems, Inc. This series
is the official source for expert instruction in Java and provides the
complete set of tools you’ll need to build effective, robust, and portable
applications and applets. The Java ™ Series is an indispensable resource
for anyone looking for definitive information on Java technology.

Visit Sun Microsystems Press at sun.com/books to view additional titles


for developers, programmers, and system administrators working with
Java and other Sun technologies.
Implementing SOA

Using Java EE

B. V. Kumar
Prakash Narayan
Tony Ng

Upper Saddle River, NJ • Boston • Indianapolis • San Francisco


New York • Toronto • Montreal • London • Munich • Paris • Madrid
Cape Town • Sydney • Tokyo • Singapore • Mexico City
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as Editor-in-Chief
trademarks. Where those designations appear in this book, and the publisher was aware of a trademark Mark Taub
claim, the designations have been printed with initial capital letters or in all capitals. Acquisitions Editor
Sun Microsystems, Inc. has intellectual property rights relating to implementations of the technology Greg Doench
described in this publication. In particular, and without limitation, these intellectual property rights may Development Editor
include one or more U.S. patents, foreign patents, or pending applications. Songlin Qiu
Sun, Sun Microsystems, the Sun logo, J2ME, J2EE, Java Card, and all Sun and Java based trademarks Managing Editor
and logos are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and Kristy Hart
other countries. UNIX is a registered trademark in the United States and other countries, exclusively
licensed through X/Open Company, Ltd. This publication is provided “as is” without warranty of any Project Editor
kind, either express or implied, including, but not limited to, the implied warranties of merchantability, Anne Goebel
fitness for a particular purpose, or non-infringement. This publication could include technical inaccura- Copy Editor
cies or typographical errors. Changes are periodically added to the information herein; these changes Apostrophe Editing
will be incorporated in new editions of the publication. Sun Microsystems, Inc. may make improve- Services
ments and/or changes in the product(s) and/or the program(s) described in this publication at any time.
Indexer
The authors and publisher have taken care in the preparation of this book, but make no expressed or Lisa Stumpf
implied warranty of any kind and assume no responsibility for errors or omissions. No liability is
Proofreader
assumed for incidental or consequential damages in connection with or arising out of the use of the
Karen A. Gill
information or programs contained herein.
Publishing Coordinator
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or
Michelle Housley
special sales, which may include electronic versions and/or custom covers and content particular to your
business, training goals, marketing focus, and branding interests. For more information, please contact: Cover Designer
Alan Clements
U.S. Corporate and Government Sales
(800) 382-3419 Senior Compositor
corpsales@pearsontechgroup.com Gloria Schurick
For sales outside the United States please contact:
International Sales
international@pearson.com
Visit us on the web: informit.com/aw
Library of Congress Cataloging-in-Publication Data:
Kumar, B. V. (Balepur Venkatanna ), 1959-
Implementing SOA using Java EE / B.V. Kumar, Prakash Narayan, Tony Ng.
p. cm.
ISBN 978-0-321-49215-9 (pbk. : alk. paper) 1. Service-oriented architecture (Computer science)
2. Java (Computer program language) I. Narayan, Prakash, 1960- II. Ng, Tony. III. Title.
TK5105.5828K95 2010
004.6'54--dc22
2009041877
Copyright © 2010 Sun Microsystems, Inc.
All rights reserved. Printed in the United States of America. This publication is protected
by copyright, and permission must be obtained from the publisher prior to any prohibited
reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic,
mechanical, photocopying, recording, or likewise. For information regarding permissions, write to:
Pearson Education, Inc
Rights and Contracts Department
501 Boylston Street, Suite 900
Boston, MA 02116
Fax (617) 671 3447
ISBN-13: 978-0-321-49215-9
ISBN-10: 0-321-49215-3
Text printed in the United States on recycled paper at Edwards Brothers in Ann Arbor, Michigan.
First printing December 2009
To my mother—Mrs. M. N. Lakshmidevamma
—Dr. B. V. Kumar

To my parents—Mr. K.N. Krishnamoorthy and Mrs. Sharada Krishnamoorthy


—Prakash Narayan

To Kaitlyn, Tyler, and Sophia


—Tony Ng
This page intentionally left blank
Contents

Foreword by Robert Brewin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii


Foreword by Raj Bala . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii

Part I Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Products and Services 4
Software-Driven Services 4
Web Services 6
SOA 8
Web Services and SOA Opportunities 12
Summary 13
Endnotes 13
Chapter 2 Evolution of IT Architectures . . . . . . . . . . . . . . . . . . .15
The Server-Side Architecture Progression 16
Progression of Mainframe Architecture 17
Progression of Client/Server Architecture 19
Progression of Distributed Architecture 21
Internet and World Wide Web 26

vii

From the Library of ALESSANDRO CAROLLO


viii CONTENTS

Client-Side Architecture Progression 28


Terminals as Clients 29
Thick Clients 30
Thin Clients 30
Browser Clients 31
Mobile Clients 31
Service Oriented Architecture and Web Services 32
Web Services 32
Arrival of SOAP, WSDL, and UDDI Infrastructure 34
Summary 35
Endnotes 35
Chapter 3 Evolution of Service Oriented Architecture . . . . . . . 37
Services Oriented Architecture—The Description 38
Early Architectures 38
IMS 39
CICS 40
CORBA 41
DCOM 41
Paradigm Shifts 42
Java and Java 2 Enterprise Edition 42
Extensible Markup Language 43
Web Services—XML-RPC and SOAP 44
Arrival of Web Services and SOA 44
First Generation Web Services 45
The Second Generation Web Services 45
SOA Using Web Services 46
Benefits and Challenges with SOA 47
SOA Implementation Technologies 47
Microsoft's .NET Technologies 48
Sun Microsystems’s Java Enterprise Edition Technologies 48
Summary 50
Endnotes 50
Part II Service Oriented Architecture Essentials . . . . . . . . . . . . . . 53
Chapter 4 Message Oriented Services and SOAP . . . . . . . . . . 55
SOAP Conventions 56
Message Envelope 56
Encoding Rules 56
RPC Convention 56
Binding 57
CONTENTS ix

Anatomy of SOAP 57
Basic SOAP Model 57
Detailed SOAP Model 60
SOAP Encoding Details 65
Simple Type Encoding 65
Complex Type Encoding 66
SOAP Binding to the Transport Protocol 68
Interaction Using the SOAP Protocol 68
Message Exchange Model 69
SOAP Response and the Error-Handling Mechanism 71
The SOAP <Fault> 72
The SOAP <faultcode> 72
The SOAP <faultstring> 73
The SOAP <faultactor> 73
The SOAP <detail> 73
SOAP Version Differences and Dependencies 73
SOAP Versioning 73
New SOAP Version 74
Summary 75
Endnotes 76
Chapter 5 Web Services and Web Services Description
Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
WSDL—An XML Web Services Description Vocabulary 78
The Web Services Triangle 78
Service Invocation Fundamentals 80
Synchronous Invocation and Fundamentals of RPC Mechanism 81
Service Invocation and WSDL 85
Creation of the Service 86
Generating the Web Service Description for the Service 87
Registering the Web Service 87
Publication of the Web Service 87
Discovering the Web Service 87
Understanding the Web Services Semantics 87
Invocation of Web Service 88
Describing Web Services—The XML Way 91
WSDL Elements and Their Appearance Sequence 92
Anatomy of WSDL Document 93
WSDL Version Differences and Dependencies 100
Summary 100
Endnotes 101
x CONTENTS

Chapter 6 Registries and UDDI . . . . . . . . . . . . . . . . . . . . . . . . . 103


Defining UDDI 104
Taxonomy-Based Business Information 104
UDDI Specifications and Services 105
Public Registries Versus Private Registries 105
UDDI Nomenclature 106
Node API Sets 106
UDDI Node 106
UDDI Registries 106
Data Structure 107
Information Model 107
Core UDDI 107
The <businessEntity> Data Structure 108
The <businessService> Data Structure 109
The <bindingTemplate> Data Structure 110
The <tModel> Data Structure 111
Publication of Business Information 112
Creation and Modification of Business Information 113
Deletion of Business Information 114
Discovering Web Services 115
Information Browsing and Retrieval 116
Information Drill-Down 117
Summary 118
Chapter 7 Orchestration and Choreography . . . . . . . . . . . . . 119
Importance of Business Process and Work Flow 120
Orchestration 121
WS-Business Process Execution Language 122
Processing BPEL 124
Choreography 127
Orchestration and SOA 129
Choreography and SOA 130
Summary 130
Endnotes 131
Chapter 8 Advanced Web Services Infrastructure for
Implementing SOA . . . . . . . . . . . . . . . . . . . . . . . . . 133
Message Exchange Patterns 135
WS-*—The New Generation 136
WS-Addressing 137
WS-Atomic Transaction 137
CONTENTS xi

WS-Coordination 137
WS-Eventing 137
WS-Metadata Exchange 138
WS-Notification 138
WS-Policy Framework 138
WS-Reliability/WS-Reliable Messaging 138
WS-Security 138
WS-*—A Working Definition 139
Addressing 139
Reliability and Reliable Messaging 140
Security 142
WS-* and SOA 146
WS-Reliable Messaging and SOA 147
WS-Security and SOA 147
WS-I Basic Profile 147
Summary 148
Endnotes 148
Part III Java Platform, Enterprise Edition and ESB. . . . . . . . . . . . .149
Chapter 9 Java Platform, Enterprise Edition Overview . . . . . .151
Java EE Technology Categories 153
Web Application Technologies 153
Web Services Technologies 155
Enterprise Application Technologies 158
Common Platform Technologies 160
What's New in Java EE 5 162
Java Annotations 163
POJO Model 165
Developer Productivity 166
Java EE Component Model 167
Application Client 167
Web Components 168
EJB Components 168
Resource Adapter 168
Java EE Quality of Services 169
Distribution 169
Data Integrity 169
Security 169
Performance and Scalability 170
Availability 170
xii CONTENTS

Interoperability 171
Concurrency 171
Summary 171
Endnotes 172
Chapter 10 Web Technologies in Java EE . . . . . . . . . . . . . . . . 173
Java Servlet 174
JSP 176
JSP Standard Tag Library 177
JSF 178
MVC Paradigm in JSF 178
User Interface Component Framework 179
Navigation Model 180
Managed Beans 182
Unified Expression Language 183
Data Conversion and Validation 184
JSF Events 185
Backing Bean Approach 186
Summary 187
Endnote 187
Chapter 11 Enterprise JavaBeans and Persistence . . . . . . . . . 189
Core EJB 3.0 API 190
Dependency Injection 191
Container Services 191
Interceptors 193
New JPA 193
Entity Class 194
Relationships 195
Inheritance 196
Entity Manager 197
Entity Life-Cycle Operations 197
Java Persistence Query Language 200
Object-Relational Mapping 203
Relationship Mapping 203
Inheritance Mapping 204
Summary 205
Chapter 12 Java Web Services Overview . . . . . . . . . . . . . . . . 207
Implementing a Web Service 208
Mapping Between Java and WSDL 208
CONTENTS xiii

Web Service Annotations 210


@WebService 210
@WebMethod 211
@Oneway 211
@WebParam 211
@WebResult 211
@HandlerChain 211
@SOAPBinding 212
Accessing Web Services 212
Protocol and Transport 213
Advanced Features in JAX-WS 213
Handler Framework 213
Asynchronous Interactions 214
Messaging API 215
Java Architecture for XML Binding 217
Schema Evolution 220
Summary 222
Chapter 13 Enterprise Service Bus and Java Business
Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
The Service Bus and Enterprises 224
ESB—A Business Perspective 224
Salient Features of ESB 226
Java Business Integration—Java and ESB 227
Summary 230
Part IV Implementing SOA Using Java EE Platform . . . . . . . . . . . . 231
Chapter 14 Service Oriented Architecture and the
Web Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .233
Delivering Services Through the Web Tier 234
The Overall Picture 235
Web Tier Design Patterns and SOA 236
Presentation Tier Design Patterns 236
Frameworks and Service Delivery 237
Services Delivery Using JSF 238
Deciding on the Right Framework 244
Summary 245
Endnotes 246
xiv CONTENTS

Chapter 15 Service Oriented Architecture and the


Business Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Delivering Services Through the Business Tier 248
Business Tier Overview 248
Business Tier Design Patterns and SOA 250
Business Tier Design Patterns 251
Presentation Tier-to-Business Tier Design Patterns 251
Transfer Object Design Pattern 252
Integration Tier Design Patterns 254
The Data Access Object Pattern 255
Intrabusiness Tier Design Patterns 257
Application Service Design Pattern 258
Summary 259
Endnote 260
Chapter 16 Advanced Service Oriented Architecture . . . . . . . 261
Patterns in SOA 261
Asynchronous Messaging Patterns 263
Conversation Patterns 267
Orchestration Patterns 269
Workflow Patterns 273
Summary 279
Endnotes 280
Part V Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Chapter 17 Developing Service Oriented Applications—
A Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
The Industry Perspective 285
Messaging Distribution in the OTA 285
The Goals of the OTA 286
The Plans and Specifications of the OTA 286
The Alliance Members 287
The Case Study 288
Challenges 289
Solution Implementation Strategies 290
Travel Reservation Service 291
The Workflow or the Process Definition 294
Solution Platform Considerations 296
Summary 298
Endnotes 299
CONTENTS xv

Chapter 18 Delivering SOA Using NetBeans SOA Pack:


Case Study—Solution . . . . . . . . . . . . . . . . . . . . . . .301
Implementation Strategy—An Overview 302
NetBeans IDE 303
Invoking NetBeans 304
Exploring the IDE 304
Project Basics 305
Project Creation 306
Summary 319
Endnotes 319
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .321
Web References 321
AJAX 321
BPEL 321
CICS 321
Design Pattern 322
ESB 322
ESB Importance 322
GDS 322
Hibernate 323
Implementing SOA with Java EE 5 323
IMS 323
IMS TM 323
J2EE Best Practices 323
J2EE Patterns 323
J2EE Versus .NET 323
Java EE 5 Developer Productivity 323
Java Specification Request 324
jRuby 325
OTA 325
Paradigm Shift 325
Paradigm Shift in IT 325
Performance Benchmark 325
Portlet 325
Ruby 325
Sabre, GDS 325
SOA 326
SOA General 326
SOAP 326
xvi CONTENTS

SOA Patterns 326


Tango 326
Web Services 327
WSDL 327
WSDL and UDDI 327
XML 327
Yahoo! 327
Books 327
Design Patterns 327
ESB 327
J2EE 328
Java 328
Java, XML 328
MDA 328
NetBeans 328
SOA 328
Software Architecture 329
Web Services 329
XML 329
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Forewords

Robert Brewin
Recently, seasoned analysts like Anne Thomas Manes have said that SOA is
dead and that it has failed to deliver its promised benefits. There have been
opposing viewpoints to this. ZDNet blogger Joe McKendrick hosted a panel dis-
cussion on “Avoiding SOA Disillusionment,” and the panelists concluded that
any perceived disillusionment stemmed from lack of planning and measurement
on the part of the Enterprises and not from a failure of SOA. In fact, Enterprises
that have been working with SOA practices and methodologies remain bullish
on the approach and recognize that SOA continues to hold promise as a model
for integration and helping to tactically reduce costs in tough times. The promise
of SOA is that it offers an architectural approach to support the proliferation and
adoption of reusable services. This is an approach that companies should adopt
to streamline their development processes and improve the quality and maintain-
ability of their code.
At Sun, we developed the Java Platform, Enterprise Edition (Java EE) as an
industry standard, and it forms the ideal foundation upon which developers can
implement Enterprise-class SOA and next generation web applications. I am
pleased to see this book by Kumar, Narayan, and Ng, which takes a practical
approach to implementing SOA with Java EE. The focus is on real implementa-
tion techniques, leveraging the GlassFish Application Server and NetBeans IDE.
By taking this approach, the authors have demystified SOA from an alphabet
soup of Web Services standards and shown how readers can implement SOA in
their Enterprise readily and easily. In addition to explaining the concepts of SOA
and the concepts of Java EE, the authors dive deep into implementing SOA with

xvii

From the Library of ALESSANDRO CAROLLO


xviii FOREWORDS

Java EE and show how services can be delivered within different tiers of an
Enterprise architecture.
Architects, developers, managers, other IT professionals, educators, and students
will benefit from different aspects of this book from concepts to architecting to
implementation, configuration, and tuning. I trust that you will find this book
beneficial and enlightening.
Robert Brewin
Chief Technology Officer, Software
Sun Microsystems

Raj Bala
Now more than ever, concepts like availability, leveragability, scalability,
expandability, extendibility, and security permeate every discussion on technol-
ogy architecture. As companies become more aware of harvesting maximum
sustainable value from technology investments, the architecture fraternity has
always cried loud for how the fundamentals matter. Architectural integrity is
measured by all the “itys” that I mentioned in my first sentence, and it is hearten-
ing to see how the answers have been around and, in fact, getting better.
Service oriented architecture (SOA) as a fundamental fix to future problems has
evolved to newer and more advanced frontiers. Saddling on ever-perfected tech-
nologies such as Java EE, SOA is becoming more appealing and compelling
than ever before.
At Cognizant, we have been developing and delivering Enterprise solutions
using SOA. And it is my privilege to write a Foreword for a book for one of our
own—Kumar is a coauthor along with Prakash and Tony. The book carefully
unravels the vast topic of service oriented architecture through a definitive and
illustrative approach. It segments web services across First Generation Web Ser-
vices for services composition, Second Generation Web Services for wiring
these services into the process/workflow of the enterprise, and WS-* for address-
ing the nonfunctional needs of the Enterprise application. This book will also
double-up as an effective implementation guide on the advanced features of the
new Java Platform, Enterprise Edition and indicate how different APIs, such as
JAX-WS and JAXB, of the new platform help in different aspects of service ori-
entation for the Enterprise application.
This book should be extremely relevant to a variety of stake holders including
architects, senior enterprise developers, and application integrators. This book is
FOREWORDS xix

also a great reference material for students of computer science, software, and
systems architecture.
From academics to architects, practitioners to pedants, students to specialists,
coders to CXOs, this book could be a vital source of SOA inspiration—of how to
build great architecture without compromising on the “itys.”
Raj Bala
VP and Chief Technology Officer
Cognizant Technology Solutions
This page intentionally left blank
Acknowledgments

I would like to acknowledge and thank Cognizant immensely for encouraging


and supporting this collaborative work with Prakash and Tony, which was initi-
ated two years ago. Special thanks are due to Frank (CEO) and Chandra (presi-
dent and MD) for their encouragement for this collaborative work. Thanks are
due to Raj Bala (VP and CTO) and Dr. Appa Rao (VP, GTO) for their continuous
encouragement and support during the course of authoring this book. I am
highly indebted to Viswakumar (AVP, Projects) for his incessant help and sup-
port of this collaborative work.
Support from my wife Sujatha Kumar, my daughter Nayana Kumar, and my son
Govind Kashyap has been tremendous throughout the course of this book, and I
sincerely acknowledge their continued support on this project for the past two
years.
We owe our sincere appreciation to Ramesh Srinivasaraghavan and Arijit Chat-
terjee of Adobe (India) for their timely help in shaping the companion website
for this book. We also admire Sujit Reddy and Shyam Prasad of Adobe (India)
for helping us with the content and design of this site.
—Dr. B. V. Kumar

xxi

From the Library of ALESSANDRO CAROLLO


xxii ACKNOWLEDGMENTS

I would like to thank Chris Atwood and Octavian Tanase at Sun for their support
and encouragement throughout this project. Special thanks and love to my fam-
ily—Jayanthi, my wife and Akshay, Madhuri, and Rohan, my children—for
always being there for me and supporting my endeavors with vigor. I was fortu-
nate to work with a great team of coauthors: B. V. Kumar and Tony Ng. Each
brought their expert-level skills to make this a rewarding experience. Thanks to
Gopalan Suresh Raj, Binod P. G., Keith Babo, and Rick Palkovic for their semi-
nal paper, “Implementing Service-Oriented Architectures (SOA) with the Java
EE 5 SDK,” which inspired me to explore the subject further and get involved in
writing this book. This book is all about implementation. The basis for this book
is the NetBeans IDE. The team that I worked with—Todd Fast, Chris Webster,
Girish Balachandran, Nam Nguyen, Rico Cruz, Jiri Kopsa, Ajit Bhate, PCM
Reddy, and Hong Lin (among many others)—have all contributed in helping
make the NetBeans product a great success.
On the editorial and production side, thanks to Greg Doench, Michelle Housley,
Anne Goebel, and the rest of the editorial staff at Pearson for their guidance.
—Prakash Narayan

I would like to thank Jeet Kaul and Tom Kincaid for their encouragement and
support, Bill Shannon and Eduardo Pelegri-Llopart for their guidance, and the
entire GlassFish team who worked on the Java EE platform and SDK.
—Tony Ng
About the Authors

Dr. B. V. Kumar, currently the director and chief architect at Cognizant Tech-
nology Solutions, has an M Tech from IIT Kanpur and a Ph.D. from IIT Kharag-
pur. He has more than 19 years of experience in the field of information
technology at various levels and in organizations such as ComputerVision Cor-
poration (Singapore), Parametric Technologies (Seoul, S. Korea), and Sun
Microsystems (India). Prior to joining Cognizant, Dr. Kumar was the principal
researcher and technologist at Infosys Technologies and was responsible for the
research and development activities and new initiatives at the SETLabs. Dr.
Kumar has been working on the Enterprise technologies for more than 7 years,
focusing on J2EE and web services technologies. As a chief architect and direc-
tor at the Global Technology Office of Cognizant (India), Dr. Kumar is manag-
ing IP and asset creation, technology evangelization, and community
development and project support. Dr. Kumar has filed for two patents in the IP
space and published many technological papers in international journals and
conferences. He has coauthored Web Services—An Introduction and J2EE Archi-
tecture.
Prakash Narayan is the CTO and cofounder of Micello, Inc. Micello is an
early-stage startup in Silicon Valley focusing on delivering high-value data to
users at the point of consumption by providing the information within a map of
the indoor location. Prior to founding Micello, Prakash was at Sun Microsys-
tems, where he was one of the founders of Zembly—a social network for devel-
opers to build services, widgets, and social applications. Immediately before
Zembly, Prakash had responsibility for Java EE and SOA tooling in NetBeans.

xxiii

From the Library of ALESSANDRO CAROLLO


xxiv ABOUT THE AUTHORS

Prakash holds an MS degree in computer science from Indian Institute of Tech-


nology, Delhi, and a BS degree in electronics engineering from Birla Institute of
Technology and Science, Pilani, India.
Tony Ng is the senior director of engineering at Yahoo!, where he is responsible
for Yahoo! developer platforms and technologies including Yahoo! Application
platform (YAP), Yahoo! Query Language (YQL), and Yahoo! Developer Net-
work (YDN). Before joining Yahoo!, Tony was the director of engineering at
Sun Microsystems, where he managed development of the Java EE platform and
GlassFish application server. Tony is a coauthor of J2EE Connector Architecture
and Enterprise Application Integration. He holds an MS degree in computer sci-
ence from Massachusetts Institute of Technology and an MBA degree from the
University of California, Berkeley.
Part I
Overview

• Chapter 1 Introduction
• Chapter 2 Evolution of IT Architectures
• Chapter 3 Evolution of Service Oriented Architecture

1
Exploring the Variety of Random
Documents with Different Content
“Shultzie, you’re all right. You proved it. Say, it’s just ripping to have
you back.”

“Old man,” said Nelson, “you want to get that ankle cured as soon as
you can. The nine is crippling along without you, but I tell you we
miss you out there in center field.”

“That’s right,” said Chub Tuttle, gulping down a mouthful of half-


chewed peanuts. “It’s a rotten shame, the mess I make of it trying
to cover that patch. I lost the game last Saturday by muffing a ball
you could have caught without half trying.”

Grant, Crane, Stone and others all had a cheerful word for Charley,
and while they were expressing themselves, Professor Richardson
came pushing gently through the throng and clapped both his hands
on the abashed boy’s shoulders.

“Well, well,” said the principal, beaming, “here you are again. That’s
fine, I declare. You ought to be able to throw away those crutches in
a few days. Do you know, I actually attended the last baseball game,
and, on my word, I found it very interesting. I believe I’ve been
missing something, and when it is possible I think I shall take the
games in hereafter.”

Was this the “old fogy back number” Shultz had so often sneered
about and derided? Why, instead of being sour and crabbed, this
man was genial and gentle and sympathetic. Charley wondered how
he had ever happened to misjudge the professor so greatly. The boy
felt his heart swelling with the gladness and camaraderie of it all,
and to keep the mist out of his eyes, he laughed, a genuine, sincere,
happy laugh, amazingly unlike his laughter of former days. He was a
lucky fellow; oh, yes, he knew it very well. He was different; he
knew that, too, and he would never again be as he had been once,
thank goodness.

When Osgood got a chance to speak to Shultz unheard by others, he


laughingly said:
“I told you how it would be. Now you’ve seen for yourself, and you
ought to be satisfied.”

“Satisfied?” said Charley. “That word doesn’t express my feelings,


Ned, and I don’t believe there’s a word in the language that can
express them.”

Professor Richardson’s troubles were indeed over; during the


remainder of the term he was not disturbed by even the faintest
show of insubordination or unruliness among his pupils, who seemed
to vie with one another in their efforts to make the old principal’s
duties not only easy but pleasant.

When Shultz next visited Osgood’s rooms, he noticed, not without


surprise and wonderment, that all the old “family portraits” had
disappeared. Not only that: Ned was using plain and simple writing
paper, unadorned by a crest.

These two boys both became genuinely popular in Oakdale, and


their splendid playing upon the baseball field caused many members
of opposing teams to express admiration and envy, and to assert
that it was mainly through the fine work of Osgood and Shultz that
Oakdale won the championship that season.

THE END.
THE RADIO BOYS SERIES

By Gerald Breckenridge

A new series of copyright titles for boys of all ages.

Cloth Bound, with Attractive Cover Designs

PRICE, 65 CENTS EACH

THE RADIO BOYS ON THE MEXICAN BORDER


THE RADIO BOYS ON SECRET SERVICE DUTY
THE RADIO BOYS WITH THE REVENUE GUARDS
THE RADIO BOYS’ SEARCH FOR THE INCA’S TREASURE
THE RADIO BOYS RESCUE THE LOST ALASKA EXPEDITION
THE RADIO BOYS IN DARKEST AFRICA
THE RADIO BOYS SEEK THE LOST ATLANTIS

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers.

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


THE RANGER BOYS SERIES

By Claude H. La Belle

A new series of copyright titles telling of the adventures of three


boys with the Forest Rangers in the state of Maine.

Handsome Cloth Binding.

PRICE, 65 CENTS EACH.

THE RANGER BOYS TO THE RESCUE


THE RANGER BOYS FIND THE HERMIT
THE RANGER BOYS AND THE BORDER SMUGGLERS
THE RANGER BOYS OUTWIT THE TIMBER THIEVES
THE RANGER BOYS AND THEIR REWARD

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers.

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


THE GOLDEN BOYS SERIES

By L. P. Wyman, Ph.D.

Dean of Pennsylvania Military College.

A new series of instructive copyright stories for boys of High School


Age.

Handsome Cloth Binding.

PRICE, 65 CENTS EACH.

THE GOLDEN BOYS AND THEIR NEW ELECTRIC CELL


THE GOLDEN BOYS AT THE FORTRESS
THE GOLDEN BOYS IN THE MAINE WOODS
THE GOLDEN BOYS WITH THE LUMBER JACKS
THE GOLDEN BOYS RESCUED BY RADIO
THE GOLDEN BOYS ALONG THE RIVER ALLAGASH
THE GOLDEN BOYS AT THE HAUNTED CAMP

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers.

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


THE BOY TROOPERS SERIES

By Clair W. Hayes

Author of the Famous “Boy Allies” Series.

The adventures of two boys with the Pennsylvania State Police.

All Copyrighted Titles.

Cloth Bound, with Attractive Cover Designs.

PRICE, 65 CENTS EACH.

THE BOY TROOPERS ON THE TRAIL


THE BOY TROOPERS IN THE NORTHWEST
THE BOY TROOPERS ON STRIKE DUTY
THE BOY TROOPERS AMONG THE WILD MOUNTAINEERS

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers.

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


THE BOY SCOUTS SERIES

By Herbert Carter

For Boys 12 to 16 Years

All Cloth Bound, Copyright Titles

PRICE, 65 CENTS EACH

New Stones of Camp Life

THE BOY SCOUTS’ FIRST CAMPFIRE; or, Scouting with the Silver
Fox Patrol.
THE BOY SCOUTS IN THE BLUE RIDGE; or, Marooned Among
the Moonshiners.
THE BOY SCOUTS ON THE TRAIL; or, Scouting through the Big
Game Country.
THE BOY SCOUTS IN THE MAINE WOODS; or, The New Test for
the Silver Fox Patrol.
THE BOY SCOUTS THROUGH THE BIG TIMBER; or, The Search
for the Lost Tenderfoot.
THE BOY SCOUTS IN THE ROCKIES; or, The Secret of the
Hidden Silver Mine.
THE BOY SCOUTS ON STURGEON ISLAND; or, Marooned Among
the Game-Fish Poachers.
THE BOY SCOUTS DOWN IN DIXIE; or, The Strange Secret of
Alligator Swamp.
THE BOY SCOUTS AT THE BATTLE OF SARATOGA; A story of
Burgoyne’s Defeat in 1777.
THE BOY SCOUTS ALONG THE SUSQUEHANNA; or, The Silver
Fox Patrol Caught in a Flood.
THE BOY SCOUTS ON WAR TRAILS IN BELGIUM; or, Caught
Between Hostile Armies.
THE BOY SCOUTS AFOOT IN FRANCE; or, With The Red Cross
Corps at the Marne.

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


THE BOY ALLIES
(Registered in the United States Patent Office)
WITH THE NAVY

By Ensign Robert L. Drake

For Boys 12 to 16 Years.

All Cloth Bound, Copyright Titles

PRICE, 65 CENTS EACH

Frank Chadwick and Jack Templeton, young American lads, meet


each other in an unusual way soon after the declaration of war.
Circumstances place them on board the British cruiser, “The Sylph,”
and from there on, they share adventures with the sailors of the
Allies. Ensign Robert L. Drake, the author, is an experienced naval
officer, and he describes admirably the many exciting adventures of
the two boys.

THE BOY ALLIES ON THE NORTH SEA PATROL; or, Striking the
First Blow at the German Fleet.
THE BOY ALLIES UNDER TWO FLAGS; or, Sweeping the Enemy
from the Sea.
THE BOY ALLIES WITH THE FLYING SQUADRON; or, The Naval
Raiders of the Great War.
THE BOY ALLIES WITH THE TERROR OF THE SEA; or, The Last
Shot of Submarine D-16.
THE BOY ALLIES UNDER THE SEA; or, The Vanishing
Submarine.
THE BOY ALLIES IN THE BALTIC; or, Through Fields of Ice to
Aid the Czar.
THE BOY ALLIES AT JUTLAND; or, The Greatest Naval Battle of
History.
THE BOY ALLIES WITH UNCLE SAM’S CRUISERS; or, Convoying
the American Army Across the Atlantic.
THE BOY ALLIES WITH THE SUBMARINE D-32; or, The Fall of
the Russian Empire.
THE BOY ALLIES WITH THE VICTORIOUS FLEETS; or, The Fall
of the German Navy.

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


THE BOY ALLIES
(Registered in the United States Patent Office)
WITH THE ARMY

By Clair W. Hayes

For Boys 12 to 16 Years.

All Cloth Bound, Copyright Titles

PRICE, 65 CENTS EACH

In this series we follow the fortunes of two American lads unable to


leave Europe after war is declared. They meet the soldiers of the
Allies, and decide to cast their lot with them. Their experiences and
escapes are many, and furnish plenty of good, healthy action that
every boy loves.

THE BOY ALLIES AT LIEGE; or, Through Lines of Steel.


THE BOY ALLIES ON THE FIRING LINE; or, Twelve Days Battle
Along the Marne.
THE BOY ALLIES WITH THE COSSACKS; or, A Wild Dash Over
the Carpathians.
THE BOY ALLIES IN THE TRENCHES; or, Midst Shot and Shell
Along the Alsne.
THE BOY ALLIES IN GREAT PERIL; or, With the Italian Army In
the Alps.
THE BOY ALLIES IN THE BALKAN CAMPAIGN; or, The Struggle
to Save a Nation.
THE BOY ALLIES ON THE SOMME; or, Courage and Bravery
Rewarded.
THE BOY ALLIES AT VERDUN; or, Saving France from the
Enemy.
THE BOY ALLIES UNDER THE STARS AND STRIPES; or, Leading
the American Troops to the Firing Line.
THE BOY ALLIES WITH HAIG IN FLANDERS; or, The Fighting
Canadians of Vimy Ridge.
THE BOY ALLIES WITH PERSHING IN FRANCE; or, Over the Top
at Chateau Thierry.
THE BOY ALIES WITH THE GREAT ADVANCE; or, Driving the
Enemy Through France and Belgium.
THE BOY ALLIES WITH MARSHAL FOCH; or, The Closing Days of
the Great World War.

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


THE JACK LORIMER SERIES

By Winn Standish

For Boys 12 to 16 Years.

All Cloth Bound, Copyright Titles

PRICE, 65 CENTS EACH

CAPTAIN JACK LORIMER; or, The Young Athlete of Millvale High.

Jack Lorimer is a fine example of the all-around American high-


school boys. His fondness for clean, honest sport of all kinds will
strike a chord of sympathy among athletic youths.

JACK LORIMER’S CHAMPIONS; or, Sports on Land and Lake.

There is a lively story woven in with the athletic achievements,


which are all right, since the book has been O. K’d. by
Chadwick, the Nestor of American Sporting journalism.

JACK LORIMER’S HOLIDAYS; or, Millvale High In Camp.

It would be well not to put this book into a boy’s hands until the
chores are finished, otherwise they might be neglected.

JACK LORIMER’S SUBSTITUTE; or, The Acting Captain of the Team.

On the sporting side, this book takes up football, wrestling, and


tobogganing. There is a good deal of fun in this book and plenty
of action.

JACK LORIMER, FRESHMAN; or, From Millvale High to Exmouth.


Jack and some friends he makes crowd innumerable happenings
into an exciting freshman year at one of the leading Eastern
colleges. The book is typical of the American college boy’s life,
and there is a lively story, interwoven with feats on the gridiron,
hockey, basketball and other clean honest sports for which Jack
Lorimer stands.

For sale by all booksellers, or sent postpaid on receipt of price by the


Publishers

A. L. BURT COMPANY

114-120 EAST 23rd STREET, NEW YORK


*** END OF THE PROJECT GUTENBERG EBOOK THE NEW BOYS AT
OAKDALE ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying
copyright royalties. Special rules, set forth in the General Terms of
Use part of this license, apply to copying and distributing Project
Gutenberg™ electronic works to protect the PROJECT GUTENBERG™
concept and trademark. Project Gutenberg is a registered trademark,
and may not be used if you charge for an eBook, except by following
the terms of the trademark license, including paying royalties for use
of the Project Gutenberg trademark. If you do not charge anything
for copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund
from the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law
in the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name associated
with the work. You can easily comply with the terms of this
agreement by keeping this work in the same format with its attached
full Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears,
or with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning
of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the Project
Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for


the “Right of Replacement or Refund” described in paragraph 1.F.3,
the Project Gutenberg Literary Archive Foundation, the owner of the
Project Gutenberg™ trademark, and any other party distributing a
Project Gutenberg™ electronic work under this agreement, disclaim
all liability to you for damages, costs and expenses, including legal
fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR
NEGLIGENCE, STRICT LIABILITY, BREACH OF WARRANTY OR
BREACH OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE TRADEMARK
OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL
NOT BE LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE OR INCIDENTAL DAMAGES EVEN IF
YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving
it, you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or
entity that provided you with the defective work may elect to provide
a replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation,


the trademark owner, any agent or employee of the Foundation,
anyone providing copies of Project Gutenberg™ electronic works in
accordance with this agreement, and any volunteers associated with
the production, promotion and distribution of Project Gutenberg™
electronic works, harmless from all liability, costs and expenses,
including legal fees, that arise directly or indirectly from any of the
following which you do or cause to occur: (a) distribution of this or
any Project Gutenberg™ work, (b) alteration, modification, or
additions or deletions to any Project Gutenberg™ work, and (c) any
Defect you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many
small donations ($1 to $5,000) are particularly important to
maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.
Project Gutenberg™ eBooks are often created from several printed
editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookname.com

You might also like