100% found this document useful (2 votes)
3 views

(Ebook) Integration-Ready Architecture and Design: Software Engineering with XML, Java, .NET, Wireless, Speech, and Knowledge Technologies by Jeff Zhuk ISBN 9780511137808, 9780521525831, 0521525837, 051113780X instant download

Ebook

Uploaded by

abbye9cangess
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
3 views

(Ebook) Integration-Ready Architecture and Design: Software Engineering with XML, Java, .NET, Wireless, Speech, and Knowledge Technologies by Jeff Zhuk ISBN 9780511137808, 9780521525831, 0521525837, 051113780X instant download

Ebook

Uploaded by

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

(Ebook) Integration-Ready Architecture and

Design: Software Engineering with XML, Java,


.NET, Wireless, Speech, and Knowledge
Technologies by Jeff Zhuk ISBN 9780511137808,
9780521525831, 0521525837, 051113780X download
https://ebooknice.com/product/integration-ready-architecture-and-
design-software-engineering-with-xml-java-net-wireless-speech-
and-knowledge-technologies-1638960

Explore and download more ebooks at ebooknice.com


Here are some recommended products that we believe you will be
interested in. You can click the link to download.

(Ebook) Biota Grow 2C gather 2C cook by Loucas, Jason; Viles, James


ISBN 9781459699816, 9781743365571, 9781925268492, 1459699815,
1743365578, 1925268497

https://ebooknice.com/product/biota-grow-2c-gather-2c-cook-6661374

(Ebook) Matematik 5000+ Kurs 2c Lärobok by Lena Alfredsson, Hans


Heikne, Sanna Bodemyr ISBN 9789127456600, 9127456609

https://ebooknice.com/product/matematik-5000-kurs-2c-larobok-23848312

(Ebook) SAT II Success MATH 1C and 2C 2002 (Peterson's SAT II Success)


by Peterson's ISBN 9780768906677, 0768906679

https://ebooknice.com/product/sat-ii-success-
math-1c-and-2c-2002-peterson-s-sat-ii-success-1722018

(Ebook) Master SAT II Math 1c and 2c 4th ed (Arco Master the SAT
Subject Test: Math Levels 1 & 2) by Arco ISBN 9780768923049,
0768923042

https://ebooknice.com/product/master-sat-ii-math-1c-and-2c-4th-ed-
arco-master-the-sat-subject-test-math-levels-1-2-2326094
(Ebook) Cambridge IGCSE and O Level History Workbook 2C - Depth Study:
the United States, 1919-41 2nd Edition by Benjamin Harrison ISBN
9781398375147, 9781398375048, 1398375144, 1398375047

https://ebooknice.com/product/cambridge-igcse-and-o-level-history-
workbook-2c-depth-study-the-united-states-1919-41-2nd-edition-53538044

(Ebook) Java XML and JSON by Friesen, Jeff ISBN 9781484219157,


1484219155

https://ebooknice.com/product/java-xml-and-json-55586388

(Ebook) Java XML and JSON by Jeff Friesen ISBN 9781484219164,


1484219163

https://ebooknice.com/product/java-xml-and-json-43192342

(Ebook) Java XML and JSON: Document Processing for Java SE by Jeff
Friesen ISBN 9781484243305, 1484243307

https://ebooknice.com/product/java-xml-and-json-document-processing-
for-java-se-7384190

(Ebook) Java XML and JSON by Jeff Friesen ISBN 9781484219157,


9781484219164, 1484219155, 1484219163

https://ebooknice.com/product/java-xml-and-json-42991614
INTEGRATION-READY
ARCHITECTURE AND DESIGN
What would you do if your IT job was no longer performed in your country? Your survival
does not lie in limiting global collaborative engineering. IT workers will survive and prosper
because of their ability to innovate, to quickly learn and change directions, and to evolve
from Information Technology into Distributed Knowledge Technology. You have no choice
but to be pro-active, learn to stay current, and even run ahead of the game.
Integration-Ready Architecture and Design shows how to build presentation factories and
seamless integration of VoiceXML, WAP, and Web technologies, providing access to corporate
data and services not only through PCs and corporate workstations, but also through multiple
types of wired and wireless devices and PDAs. The author integrates theory and practice,
going from foundations and concepts to specific applications and architectures. Through
deep insights into almost all areas of modern CIS and IT, he provides an entry into the new
world of integrated knowledge and software engineering. Readers will learn the “what’s,
why’s, and how’s” on: J2EE, J2ME, .NET, JSAPI, JMS, JMF, SALT, VoiceXML, WAP, 802.11,
CDNA, GPRS, CycL, XML, and multiple XML-based technologies including RDF, DAML,
SOAP, UDDI, and WDSL.
For Internet and wireless service developers, this book contains unique recipes for creating
“integration-ready” components. Architects, designers, coders, and even management will
benefit from innovative ideas and detailed examples for building multi-dimensional worlds
of enterprise applications. Throughout, the book provides a “unified service” approach while
creating a core of business frameworks and building applications for the distributed knowl-
edge marketplace.

Jeff Zhuk is the President of Internet Technology School. A software architect and devel-
oper with more than twenty years of experience and numerous patents and publications,
he teaches at the University of Phoenix and DeVry University, and he conducts corporate
consulting and training. He has pioneered IPServe.com and JavaSchool.com, which promote
collaborative engineering and a distributed knowledge marketplace. An expert in distributed
enterprise applications and wireless, XML, and Java technologies, his current focus is on the
integration of software and knowledge engineering in a new development paradigm.

Look out for code examples and updates on the book’s Web site www.cup.org/Titles/
0521525837.htm
This book is dedicated to my parents, Lubov and
Veniamin, and to my wife, Bronia.
INTEGRATION-READY
ARCHITECTURE AND DESIGN
SOFTWARE ENGINEERING WITH XML,
JAVA, .NET, WIRELESS, SPEECH, AND
KNOWLEDGE TECHNOLOGIES

JEFF ZHUK
Internet Technology School, Inc.
camʙʀɪdɢe uɴɪveʀsɪtʏ pʀess
Cambridge, New York, Melbourne, Madrid, Cape Town, Singapore, São Paulo

Cambridge University Press


The Edinburgh Building, Cambridge cʙ2 2ʀu, UK
Published in the United States of America by Cambridge University Press, New York
www.cambridge.org
Information on this title: www.cambridge.org/9780521525831

© Jeff Zhuk 2004

This publication is in copyright. Subject to statutory exception and to the provision of


relevant collective licensing agreements, no reproduction of any part may take place
without the written permission of Cambridge University Press.

First published in print format 2004

ɪsʙɴ-13 978-0-511-13780-8 eBook (NetLibrary)


ɪsʙɴ-10 0-511-13780-x eBook (NetLibrary)

ɪsʙɴ-13 978-0-521-52583-1 paperback


ɪsʙɴ-10 0-521-52583-7 paperback

Cambridge University Press has no responsibility for the persistence or accuracy of uʀʟs
for external or third-party internet websites referred to in this publication, and does not
guarantee that any content on such websites is, or will remain, accurate or appropriate.
Contents

Preface page xi
Contributors xv
Acknowledgments xvi
Introduction xviii
Notes for Educators: AMA Teaching Methods xxix

Chapter 1
Collaborative Engineering 1

Management Style as an Important Part of the Development Process: True


Leaders Versus “Pure” Managers 2
Development Methodologies: Capability Maturity Model and More 4
Extreme Programming: Rules of the Game 5
Six Sigma 5
Distributed Collaborative Development 5
24×7 Distributed Development Practices 8
Steps in the Process 9
Basic Steps of the Development Process with an Object-Oriented Approach 10
Learn by Example: Compare OOP and Procedural Programming 21
UML Notations 24
Example of Object-Oriented Analysis: Create an OMD for Document
Services 26
Create the DocumentService Model 26
Architecture Steps: Find Playground-Tiers for Your Objects 27
From Single-User to Client-Server and Multi-Tier Architecture Models 28
Basic Design Steps and Rules 33
Instead of a Summary: How Direct Access to Products and Services
Improves the Balance of Supply and Demand 40
v
vi Contents

Chapter 2
Software Architecture and Integration Technologies 42

Software Architecture—The Center Place of Software Development 42


Architectural Elements, Styles, Views, and Languages 43
Programming Styles 48
Integration Technologies 49
Object Linking and Embedding (OLE) and ActiveX 49
CORBA and IDL 51
Microsoft’s Distributed COM Architecture 52
Java Technology Architecture 53
Java Applet 53
The Java Bean Architecture 53
J2EE Architecture 55
Java Server Pages 55
The Enterprise Java Beans Architecture 56
EJB Components and Containers 56
The Java RMI Architecture 57
The Bridge from Java to CORBA Technology 57
XML Web Services 59
An Example of an XML-Based Service API 60
Additional Benefits: Ability to Add or Change Services at Run-Time 63
How Can We Register a New Web Service? 64
Is There a Mechanism to Pack Both Data and Services into a Message? 64
How Do Software Vendors Support Web Services? 64

Chapter 3
From a Specific Task to “Integration-Ready” Components 69

User Requirements, Version 1: The “News Watch” Applet 70


User Requirements, Version 2: The Reusable NewsLine Component 79
User Requirements, Version 3: View Multiple Web Information Channels in
the NewsLine Component 88
Integration-Ready Service Components and Extensible Service Containers 100
An XML-Based Configuration File 103
Start from the Parameters for a Single Component 105
How Would We Use XML-Based Parameters while Building Components? 106
Event-Handling Procedure 114
What Is the Dispatch() Method for and How Do We Define Its Function? 115
Provide the Possibility of Interactive Components (Event Handling) 125
The ControlComponent Class Description 127
Reuse, Not Abuse 130
Contents vii

Chapter 4
Integration with Voice 133

What Is the Base for Creating a Voice Component? 133


How Are Voice Components Coded? 140

Chapter 5
An Introduction to Knowledge Technologies 151

Ontology 152
DAML+OIL: A Semantic Markup Language for Web Resources 153
Topic Maps 156
Data-Mining Process and Methods 160
Frames and Slots 161
The CycL Language 163
How to Begin with OpenCyc 173

Chapter 6
Write Once 194

Multiple Types of Data Storage 195


Control Systems and Controllers 199
Document-Handling Services 203

Chapter 7
The New Generation of Client–Server Software 222

What Are the Best Ways to Provide Client Functionality? 225


Thin Clients 226
Multiple Scenarios 235
Synchronous or Asynchronous Client-Server Communication 243
Example of XML Multiple-Screen Scenario 244
Good Performance Follows Good Design 251
Keep a Stable API while Changing Communication Mechanisms 252
Add Open Office Features to Rich Clients 254
How Much Abstraction Is Too Much? 255

Chapter 8
Wireless Technologies 257

Wireless TDMA, CDMA, GSM, and Other Standards 258


802.11 and WLANs 261
Bluetooth Technology 262
viii Contents

SMS: The Most Popular Wireless Service 262


What Is WAP? 263

Chapter 9
Programming Wireless Application Protocol Applications 267

Rethink the Existing Web Page Paradigm in WAP Terms 268


What Is a Presentation Factory and How Do You Create One? 269
Programming WAP/WML Pages 270
Secure Transactions with WML Factory 271
Is the Data Size Too Big for a Device? Not a Problem! 279
WAP Push 281
WAP Devices and Web Services 284

Chapter 10
A Single JavaCard Identity Key for All Doors and Services 286

What Is a Smart Card? 286


What Is a JavaCard? 287
Why Do We Use Multiple Keys? 287
Can We Have a Single “Identity Key”? 288
How to Program JavaCards 288
What Are JavaCard Programming’s Limitations? 290
The javacard.framework Package for JavaCard Programming 290
Writing a Sample JavaCard Applet: VirtualCurrency 291

Chapter 11
The J2ME Family 306

The MIDP 308


How Do We Display Screens and Handle Events? 308
Multimedia on Wireless 309
What Are MIDlets? 310
Can We Store Data on Mobile Devices? 310
MIDlet Security 311
Can We Push from a Server to the MIDP Device? 311
Wireless Messaging with Short Message Service and Other Protocols: An
Important Component in Our Application 312
Wireless Messaging Client Application 314

Chapter 12
Speech Technologies on the Way to a Natural User Interface 338

What Is a Natural User Interface? 338


Speaking with Style 339
Java Speech API Markup Language 341
Contents ix

Speech Recognition with Java 348


Microsoft Speech SDK 351
Speech Technology to Decrease Network Bandwidth 354
Standards for Scenarios for Speech Applications 359
Speech Application Language Tags 360
Grammar Definition 361
VoiceXML 364
ECMAScript 378
Grammar Rules 380
The VoiceXML Interpreter Evaluates Its Own Performance 382

Chapter 13
Integration with Knowledge 387

Why Are Computers Stupid? What Is Missing? 387


Knowledge Integration Participants, Processes, and Products 388
Connect Software and Knowledge Technologies 390
What Are the Main Goals of the Knowledge Connector Package? 392
Object Model Diagram 393
Formatting and Presentation Layers 393
The Magic of Service Invocation 394
What Does It Mean to Play a Scenario? 415
Do You Want to Be a Scenario Writer? 416
Application Scenario Language 416
Installing and Running the Package 438

Chapter 14
Distributed Life in the JXTA and Jini Communities 446

Distributed Processing and the Flat World of XML 446


What Is JXTA? 449
Jini 463
JXTA and Jini: Just Neighbors or Collaborators? 466

Appendix 1
Java and C#: A Saga of Siblings 468

Java Virtual Machine and Common Language Run-Time 468


From Basics to the Next Level on the Java/C# Programming Trail 484

Appendix 2
XML and Web Services 539

XML Extends the Web and Builds a Playground for Its Children 539
XML Describes Business Rules and Data Structures; XSLT and X Path
Describe Their Transformations 539
x Contents

XML Provides Direct Hooks to Services on the Web with SOAP, WSDL, and
UDDI 540
Interactive Web with XForms 540
XML in Voice Applications 540
XML Drives Semantic Web and Knowledge Technologies 541
XML Web Services 541
Web Services at Work 541
Encode Service Requests with SOAP 542
Describe Web Services with WSDL 542
Publish and Discover Web Services with UDDI 544
Business Process Execution Language for Web Services 544

Appendix 3
Source Examples 551

Getting into Collaborative Services 551


The MIME Multipart/Related Content-Type; RFC 1867 554
Working with Geographical Information Systems 570
Reading AutoCAD Vector Graphics 577
JNDI: What, Why, and How? 578
Instant Screen Share 581
Instant Voice Share with JMF 581
Java Messaging Services ( JMS): A New Way to Think about Applications 587
Create Speech Recognition and TTS Applications in C# 589
Fight Email Spam and Increase Email Server Efficiency 590

Index 599
Preface

WHO SHOULD READ THIS BOOK?


Integration-Ready Architecture and Design strives for a union of theory and practice. Teaching
the latest wired and wireless software technologies, the book is probably the first entry into
“the next big thing,” a new world of integrated knowledge and software engineering. Written
by a software architect and experienced trainer, this book is for:

r Software architects, designers, and developers


r Internet and wireless service providers
r IT managers and other IT professionals, as well as amateurs
r Subject matter experts who will directly participate in a new development process of
integrated software and knowledge engineering
r Students and educators, who will find up-to-date materials for the following courses:

1. Software Architecture,
2. Software Engineering,
3. Programming Concepts,
4. Information Technologies,
5. Smart Card and JavaCard Technologies,
6. Wireless Technologies,
7. J2ME and Wireless Messaging,
8. XML Technologies,
9. Speech Technologies,
10. Java Language and Technology,
11. C# and .Net Technology,
12. Integration Technologies,
13. Business Communications and Collaborative Engineering,
14. Web Technologies,
15. Introduction of Ontology, and
16. Integrated Software and Knowledge Engineering (introduced in the book)

xi
xii Preface

r Peers: students, instructors, consultants, and corporate team players who might start
using a peer-to-peer educational tool offered in the book as their entrance to the distributed
knowledge marketplace
r All of the above who want to know how things work, should work, and will work in the
IT world

WHY DID I WRITE THIS BOOK?


Of course, I wanted to solve several global-scale problems. Divided by corporate barriers
and working under “time-to-market” pressure, we often replicate data and services and
produce software that is neither soft nor friendly. Working as fast as possible in this mode, we
deliver products that lack flexibility and teamwork skill and are hardly ready for integration
into new environments. These products strictly target user requirements—which become
obsolete by the time the project ends. Producing “more of the same” and raising the number
of product choices (instead of moving to new horizons), we actually increase entropy and
slow down the progress of technology, which depends heavily on inventions, new usage, or
new combinations of existing tools and methods.
The famous formula “write once” is not working anywhere today. One of the reasons is
the absence of a mechanism capable of accepting, classifying, and providing meaningful
information about new data or services created by knowledge producers.
We have not changed our way of writing software during the past twenty years.
We have not moved far from the UNIX operational environment (which was a big hit
thirty years ago).
Our computers are much faster, but for the regular user, they are as stupid as they
were forty years ago. We add power but we fail to add common sense to computers, we
cannot help them learn, and we routinely lose professional knowledge gained by millions
of knowledge workers.
Meanwhile, best practices in software and knowledge engineering are reaching the point of
critical mass. By learning, understanding, and integrating them, we can turn things around.
We might be able to improve the reliability of quickly changing environments by using
distributed self-healing networks and knowledge base–powered application solutions.
We can finally stop rewriting traditional address book, scheduling, inventory, and order
applications. We will shift our focus from ironing out all possible business cases in our design
and code to creating flexible application mechanisms that allow us to change and introduce
new business rules on the fly. Coming changes are similar to the transition from structural
to object-oriented programming. We are going back to school.

HOW TO USE THIS BOOK


I hope you find this book on your list of recommended reading or as “the best gift for yourself,
your spouse, and your friends.” Just buy two copies and let them figure out what to do with
the book. In the worst case, it can be used for self-defense. It is almost as heavy as other
good books.
If your gift list includes yourself, you might want to read this book in the bookstore
first—at least some selected chapters, starting from the back.
What Is This Book About? xiii

For example, Chapter 10, about a JavaCard key that opens all doors, can be very handy
the next time you lock your keys in your car. If this happens too often to you or your close
relatives, you might find Chapter 11, on J2ME and wireless messaging, very practical.
Armed with the knowledge of wireless technologies from Chapters 8, 9, and 11, you can
create your own communication service and finally stop switching from AT&T to Sprint and
back to Verizon. Serve your friends and neighbors, compete with T-Mobile, and someday I’ll
be happy to buy your integrated “wireless portal communicator” product.
If you are a serious developer or plan to become one, you might prefer to start from
the beginning and read all the way through. Search for long-term, secure, and exciting
IT directions. Find out why all the pieces of the puzzle, as well as the glue, are almost
equally important. Teach yourself to see every technology (component) as an object with
three dimensions: what, why, and how. After reading the book, you might even become less
serious and more efficient.
If you want to increase your business clientele from the 20% of the population who are
fluent in current computer interfaces to the rest of us, including those who hate computers
or cannot bear their stupidity—just go for it! Read Chapters 4, 5, 12, and 13, on speech and
knowledge technologies, and create a natural user interface, a bridge from your business to
humankind.
A professional hacker (whose average age is 15 but ranges from 6 to 66) might start with
Appendix 3 (“Source Examples”). Find examples that can help to build collaborative and
location-based services, screen/voice instant sharing and security monitoring, and speech
and distributed knowledge alliance applications. Look there for spam killer hints to be ahead
of the game.
If you just want to speak more languages, go to Appendix 1 (“Java and C#: The Saga of
Siblings”). You can get two for the price of one, including the latest JDK1.5 language inno-
vations.
If you would like to include XML in your repertoire, add Appendix 2 (“XML and Web
Services”), which covers several dialects of the XML family.
Chapters 5 and 13 are not only for computer folks. The elusive category of “knowledge
workers”—anyone who has gained knowledge and never had a chance to share—might be
looking at the Promised Land. Subject matter experts (SME)—who used to talk to developers
about what and why—can find in those chapters new ways to say how.
There is also a downloadable software product with this book. Students and educators
can use the tool for collaborative work in team projects. The tool helps to connect students
and instructors with educational knowledge resources. This can elevate the visibility and
quality of student projects and transmit the best of them into industry contributions. The
software can be handy in academic/corporate alliances.

WHAT IS THIS BOOK ABOUT?


r The what’s, why’s, and how’s on: J2EE, J2ME, .NET, JSAPI, JMS, JXTA, JMF, SALT,
VoiceXML, WAP, 802.11, CDMA, GPRS, CycL, XML, and multiple XML-based technolo-
gies, including RDF, DAML, SOAP, WSDL, and UDDI. The book turns these abbreviations
into understandable concepts and examples
r The distributed knowledge marketplace
r Collaborative engineering methods and technology
xiv Preface

r XML and Web technology architecture, design, and code patterns


r Ontological (knowledge) engineering and natural user interface
r XML-based application scenarios that integrate dynamic user interface and traditional
services with speech and knowledge technologies
r Unique recipes for creating integration-ready components across a wide range of client-
server, multi-tier, and peer-to-peer distributed architectures for Internet and wireless ser-
vice developers
r Innovative ideas, methods, and examples for building multidimensional worlds of enter-
prise applications
r Privilege-based access to corporate data and services, not only through PCs and worksta-
tions but also through multiple types of wired and wireless devices and personal digital
assistants with seamless integration of wireless, Web, speech, and knowledge technologies
r A unified approach to architecture and design that allows for J2EE and .NET implemen-
tations with code examples in Java (most of the source code) and C# languages
r Integration of software and knowledge engineering in knowledge-driven architecture
r Union of theory and practice. As many of us do, I divide my professional time between
the education (30%) and development (70%) worlds. Time sharing is not always the
best option in real estate, but I hope it works for this book by providing more cross-
connections between these parallel worlds. Like most parallel worlds, they have (almost)
no intersections according to Euclidian geometry, but we can find many by moving into
Riemann’s space
r Questions and exercises, case study assignments, design and code samples, and even a
learn-by-example self-training system that allows you to enter the distributed knowledge
marketplace
Bridging the gap for a new generation of software applications, the book teaches a set of
skills that are becoming extremely valuable today and that will certainly be in high demand
tomorrow.
This book is designed to walk a reader through the peaks of current software, with a focus
on foundations, concepts, specifications, and architecture. The hike then goes down to the
valley of implementation, with detailed design examples and explanations, and finally flies to
new horizons of software and knowledge technologies. There lies the happy ending, where
software and knowledge engineering ride off into the sunset together.
Contributors

Many special thanks to the people who made direct contributions to this text:
Ben Zhuk—Cowrote a number of sections, edited the entire book for both content and
style, and created all diagrams and illustrations (except those mentioned below). He was a
sounding board for ideas throughout the writing process and was an invaluable resource. I
am indebted to him, more than I can express, for his tireless efforts and the countless hours
he put into this project.
Dmitry Semenov—Senior Software Architect who read the manuscript carefully and thor-
oughly. Dmitry’s remarks and criticism helped me to clarify content and add significant parts
to Chapters 3 and 13.
Olga Kaydanov, artist—Provided great design ideas and artistic inspiration for illustrations
(http://artistandart.com).
Irina Zadov, artist—Illustrated Fig. I.1, Fig. I.2, Fig. I.5, and Fig. 1.4
(http://ucsu.colorado.edu/∼zadovi).
Inna Vaisberg, designer—Illustrated Fig. 3.1 and Fig. A3.18
(http://javaschool.com/skills/Inna.Vaisberg.Portfolio.pdf ).
My former students, talented software developers:
Masha Tishkov, who wrote and tested several XML parser methods in the Stringer.java source
and helped to prepare the uploader package;
Slava Minukhin, who teamed up with me to write C# sources for Appendix 3: Text-
ToSpeech.cs, SocketTTS.cs, Recognizer.cs;
Alex Krevenya, who helped write email- and spam-related sources for Appendix 3;
and Dina Malkina, who wrote C++ sources for Chapter 12: ListeningClient.cpp and
TalkingClient.cpp.
Thank you so much!

xv
Acknowledgments

T his is a great opportunity to say thank you to so many people without whom this book
would be impossible. Thanks to my parents; if not for them, you might be holding a different
book right now.

To my friends (many of them former students), who assisted and supported me with many
essential steps in the book’s production.
To Candi Hoxworth, IT Manager, who read most of the book and provided great suggestions
on improving my American accent in it.
To Stuart Ambler, Mathematician and Software Architect, who reviewed and provided im-
portant feedback for Chapters 8, 10, and 12.
To Michael Merkulovich, Software Team Lead, who read and provided valuable suggestions
for Chapter 6 and Appendix 1.
To Nina Zadov, Senior Software Engineer, who read and approved Chapter 7.
To Roman Zadov, Mathematician, who reviewed Chapter 5 (Ontology).
To Bryan Basham, Java Instructor, who reviewed a section (multipart/form upload) from
Appendix 3.
To Linda Koepsell, Course Development Project Manager, who reviewed a section from
Chapter 11 ( J2ME).
To Jason Fish, Enterprise Learning, President, who invited me to teach for Java University at
an international conference, where I met Lothlorien Homet from Cambridge University
Press. Thank you Jason and Lothlorien, you got me started with this book.
To Cambridge University Press editors Lauren Cowles and Katherine Hew and TechBooks
project manager Amanda Albert and copy editor Georgetta Kozlovski for their work and
dedication.
To Cyc Corporation knowledge experts John De Oliveira, Steven Reed, and Dr. Doug Lenat,
who taught me ontology and the Cyc Language and reviewed several sections from Chap-
ters 5 and 13.
To my colleagues from the University of Phoenix, Mary A. Martin, Ph.D., Blair Smith, Stephen
Trask, Adam Honea, Ph.D., and Carla Kuhlman, Ph.D., who reviewed sections from Chap-
ter 2 (Software Architecture) and Notes for Educators.

xvi
Acknowledgments xvii

To my colleagues from DeVry University, Ash Mahajan, Karl Zhang, Ph.D., and Mike Wasson,
who reviewed the Preface and Introduction.
To Victor Kaptelinin, Ph.D., Umea University (Sweden), professor with whom I discussed
multiple ideas for collaborative environments.
To Jay DiGiovanni, Director of Software Development, who reviewed and provided encour-
aging remarks on a section from Chapter 13.
To Vladimir Safonov, Ph.D., St. Petersburg University, Professor, who offered excellent sug-
gestions for Chapter 2 (Software Architecture).
To Vlad Genin, Ph.D., Stanford University and University of Phoenix, Professor of Engineer-
ing, who gave me important notes on introductory sections.
To Robert Gathers, GN President, with whom I discussed the future of distributed networks
and who reviewed several sections from Chapters 13 and 14.
To Rachel Levy, whose reviews of and ideas for the Introduction and Preface were inspired
and right on-target.
To my children, Julie and Ben, for their moral support and phenomenal help during the
entire process.
And finally, and most importantly, to my wife, Bronia, who makes everything in my life
possible.
Introduction

O ne might think that the software industry is performing very well because it is armed
with object-oriented approaches, Web services, Java and .NET technologies, and so forth.
Unfortunately, this is not true.
There may be something wrong with the way we write programs. The process has not
changed much during the past twenty years, except that applications and tools are getting
bigger. Yet are they better and more scalable? Do they require any common sense? Can they
be reused in different circumstances?
If these things were true, I do not think we would be rewriting the address book, schedule,
order, and inventory applications over and over again instead of moving to new, untouched
tasks. We would be able to accumulate the professional knowledge gained by millions of
knowledge workers (everyone who manages information flow on a daily basis) instead of
routinely losing it, as we do today. We would also not be facing the current IT crisis.
We could even have had more precise and direct access to the market’s supply and demand,
which would have reduced the glaring inefficiencies of the software marketplace of the 1990s.
A big change is required to return investors’ confidence to IT, and, hopefully, the change is
coming.
Yes, technology can help economic stability if applied with precision. Sometimes I wonder
why big companies are constantly growing bigger while small ones tend to disappear. Why
do corporations prefer doing business with a few vendors, or often a single vendor, even
when it is an expensive one? One of the reasons is that the integration of multiple vendors’
products would be even more expensive.

WHY IS PRODUCT INTEGRATION SUCH A PAIN?

Products and services are currently designed to cover predefined tasks and work with known
data.
Are they ready for unknown tasks and new data sources?
Are they ready for integration with other products and services?
Are they ready to be extended into the wireless world?

xviii
Why Is Product Integration Such a Pain? xix

FIGURE I.1. Cooking Applications on Demand.

We think we know what is going on in our industry, but how close are we, really, to even
asking the right questions?
Where can you look for information? Google.com is one answer. Where can you find any
tangible product to buy? Ebay.com is a good solution. Can you find a service you need? This
question is a bit harder, and the short answer is no, except for the technologies to register
Web services, which we explore in following chapters. The ocean of industries and markets
is filled with a myriad of services, but we notice only the brightest and loudest fish on the
surface and have no equipment to help us swim the depths and explore this underwater
universe.
If we somehow find a service, then we have a chance to take a closer look. We may
subsequently find that it is not exactly what we really want.
Can we modify a product or service? Can we easily plug it into another service? Can I
cook my application as easily as my lunch, from products and services selected right now
for a single usage, as in Fig. I.1?
What does it mean to build integration-ready products?
Why and how do we use XML, Java, .NET, wireless, and speech technology components?
What is the next big thing? Is it about collaborative engineering, distributed knowledge
marketplace, knowledge-driven architecture, or all of the above?
This book answers these questions, walks readers through the edge of current technolo-
gies, explains their fundamentals and interdependencies, helps to integrate the best practices
of existing technologies into a new development paradigm, and provides an entrance into
the world of knowledge alliances.
Examples, case studies, and the self-training application offered by this textbook arm
students and instructors with ammunition for successful teamwork.
Exploring the Variety of Random
Documents with Different Content
“Yes, it’s too bad. I think it may be the heat, we’ve had such awful
weather; but I don’t know. It’s about her I’ve come down this
morning. I didn’t know but your father would go up and see her
some day; I felt he’d be better than anybody else.”

“Oh, yes, of course,” returned Polly, “and he’ll be glad to come.


What seems to be the matter—just weakness?”

“Yes. She sits there looking like a little angel, and growing whiter
and whiter every day. I carry her out to the doorstep after the sun is
gone, but it don’t seem to do her much good. I’m afraid she’s just
fading away. If anything does happen, I don’t know what Sardis will
do. That child is the very apple of his eye.”

“I’m so sorry, so sorry,” Polly sighed. “I’m sure father will come to
see her right away—I’ll find out.” She stepped to a telephone and
took up the receiver.

“Is father there?... Will you please say that Polly wishes to speak
with him.” Presently she came back.

“Father says he will drive up to see her at five o’clock this


afternoon. Now, don’t worry another bit. I feel sure that he will bring
her out all right. You think she couldn’t bear even a short ride? Well,
perhaps we’d better wait and see.”

Dr. Dudley was a little late to dinner. Polly waited for him
anxiously. She had become attached to little Dolly Merrifield, for
helplessness always appealed to her, and the tiny girl was rarely
attractive.

Presently she heard a step in the hall, and the Doctor walked in.

“I stayed too long to visit with my patient,” he said as he sipped


his soup. “Have I kept you waiting? Where is your mother?”
“Why, mother’s at the church to-night. Don’t you remember? She
told you she shouldn’t be home. No, dinner hasn’t waited a great
while. I am glad you were only visiting. I was afraid Dolly might be
worse—how is she?”

“I couldn’t discover any urgent need for alarm. The child is in a


bad way; but we must remedy that. She needs good country air and
food. I fancy Mrs. Edmonson doesn’t set a hotel table. Evidently
there is not too much money. What does the son do, did you say?”

“The son? Oh, Dolly’s brother! He is a minister away up in New


Hampshire, graduated from Yale two years ago.”

“Probably he isn’t making a fortune, then,” he smiled. “I wish the


child was up there with him. But I don’t see why you can’t take her
along with you. It will be better than any tonic I could give her.”

“To Overlook? Oh, I wish I could!”

“Why can’t you?”

“In the first place, I didn’t suppose they’d let her go, and then
when I heard how weak she is I thought it wouldn’t be of any use
even to think of it.”

“’Twon’t hurt her a mite—do her good.”

“You think she can bear that long trip?”

The Doctor nodded. “She might have to lie down on the way, but
that would be easy enough.”

Polly’s face had grown very bright. “I should love to have her with
us,” she responded. “What did they say? Or didn’t you speak of it?”

Dr. Dudley shook his head. “I said nothing of Overlook. Probably


they will be glad to have her go; they ought to be. You’d better see
Mrs. Edmonson at once. The time is getting short.”

Dolly’s aunt did not receive the proposition as gladly as had been
expected.

“You see,” she explained, “I’m afraid Sardis wouldn’t hear to


letting her go so far with strangers. Of course,” she hastened to add,
“I’d be willing enough; it might do her no end of good. But Sardis,
he is so afraid something will happen to her. It’s nice of you to want
to take her, and I’ll write him to-day; though I haven’t much hope
he’ll let her go.”

As for Dolly herself, she sat in her cushioned chair, eager-eyed at


first, but disappointed as she listened to her aunt’s objections.

“Why, Aunt Sophie,” she once ventured to pipe, in her tired little
voice, “I do guess it would make me ’most well, same as Miss
Dudley says. I know I could coax Sardis to say yes, if I only had him
here.”

“I don’t doubt you could,” returned her aunt with a little laugh;
“Sardis would tear the house down and make a bonfire of it if you
wanted him to; but he ain’t here, and I don’t know. I expect,
though, he’ll be against it, he’s so careful.”

Polly went over and sat down by the little girl before leaving.

“Don’t worry, dear! Maybe Sardis will say yes—who knows!”

“He would if he was some folks,” returned Mrs. Edmonson; “but he


isn’t. I know just what his answer will be.”

The brightness which had come into Dolly’s face vanished and left
it listless and dull.

Aunt Sophie, also, grew sad.


“I hated to say that,” she whispered to Polly as she stood on the
doorstep; “but I couldn’t let her go on hoping and hoping, as I was
afraid she would. I wish she could go; but Sardis, though he’s smart
as all creation, acts kind o’ foolish sometimes. I’ll let you know soon
’s I hear. I can telephone from the grocery store.”

Polly was more disappointed than she at first realized. She was
indignant with this brother of the queer name. To think anybody
could be so pig-headed as to refuse to believe what her father
asserted as truth. If it were only he that would suffer through hot
August, instead of sweet, frail little Dolly! He must be an ignorant
fellow, this Sardis. Polly said to herself that she would like to tell him
what she thought. It wouldn’t be very flattering to his judgment. She
wondered if she could induce him to be sensible if she should write
herself; but finally she decided to wait.

Nearly a week passed, but no word came from the little far-away
New Hampshire town to the Children’s House of Joy. At last Polly
was so anxious that two days before the morning of starting for
Overlook she drove out to Prattsboro.

Mrs. Edmonson had received no answer to her letter. Perhaps


Sardis had been too busy to go to the post-office, his aunt thought
likely. He lived quite a distance from the center, she said. She did not
appear to be much disturbed; but little Dolly looked whiter and
wispier than ever. Polly’s heart ached to see her.

“It won’t make any difference whether we hear or not,” Mrs.


Edmonson said dully. “I know Sardis well enough to know he would
not do anything about it. So don’t let it change your plans in the
least. I may get a letter to-morrow. He’ll answer—he always does.”

Polly drove sadly home and told her father the disappointing
news.

He was sorry and said so. “Probably,” he added, “the child won’t
live through the summer if she stays here.”
Polly went back to her duties, almost wishing that she had never
seen Dolly Merrifield.

The next day went its hot, lagging way, and Paradise Ward
prepared for an early morning start. Polly put her little folks to bed
early, and when they were asleep she went downstairs, leaving a
young nurse in charge.

“No message from Prattsboro, I suppose,” she said to her mother.

“Not a word. It is too bad.”

“I’d like to give that Sardis a shaking,” said Polly grimly. “When the
dear child could be so comfortable and happy up on Overlook!”

The two were still talking when eleven strokes from the clock in
the next room started Polly to her feet. “And I meant to be asleep by
this time!” she laughed.

One of the hospital orderlies appeared at the door, an envelope in


his hand.

“Dr. Dudley wished me to give you this. He will be down in a few


minutes.”

Polly took the telegram wonderingly, then opened it. “Mother!” she
cried—“listen!”

Raineville, New Hampshire, July—


To Robert Dudley, M.D.,
Children’s House of Joy, Fair Harbor,
Conn.
Your letter received. A big Yes. Everlasting thanks to
you.
Sardis Merrifield
CHAPTER XIV

PARADISE WARD ON WHEELS

T
HE little gray house in Prattsboro, opposite Mrs. Hamilton
Garde’s garage, saw busy hours throughout that sultry July
night of Sardis Merrifield’s message. Aunt Sophie and a kindly
neighbor mended and stitched and washed and ironed and packed,
to get Dolly ready for her journey next day and the outdoor months
to follow.

Meanwhile the little maid for whom they labored slept quietly in
the adjoining room, all unknowing of the delights in store for her.

The next morning at eight o’clock a little procession waited in front


of the Children’s House of Joy, making ready for its start on the long
journey to Overlook Mountain.

At the head stood Colonel Gresham’s seven-passenger car, in


charge of John, the Colonel’s chauffeur. Next came No. 45678; then
Russell Ely, who had placed himself and his car at Polly’s disposal;
while Colonel Gresham’s small truck, piled with all manner of
luggage, tagged the three. The children were chattering and
snickering as only little people can. There were last words to say,
last bundles to dispose of, and all was hilarity and happiness.

“Now, father,” said Polly, “remember that you have promised to


come up in August for a few days at the least, and you must plan to
make it a week if you possibly can. You owe it to yourself and to
your patients. I do wish you and mother could come together.”

She looked appealingly into Mrs. Dudley’s eyes.


Her mother smilingly shook her head. “I’ll try to come,” she said,
“and I’ll do my very best to make your father keep his promise; but
I’m afraid we can’t come at the same time.”

“When are we goin’?” piped up Timmy, flinging the query in Polly’s


direction.

“As soon as I can make this box stay where it belongs,” she
laughed. “There! I believe that’s positively the last.”

Her eyes scanned the running-board, the walk, even the roadway.
Was everything in? She paused, thinking.

“Don’t try to find a single package more,” laughed Lilith. “If we


don’t start pretty soon—”

“Oh! I forgot—” She dashed towards the house.

“What? What?” cried those nearest.

“Ain’t we goin’?” queried a worried little voice.

Russell was already leaping after Polly, while Lilith reassured the
anxious tot. In a moment the two runaways reappeared in the
doorway, Russell carrying Polly’s forgotten lunch basket.

This made the grown folks laugh. Then everybody said good-bye.
There was a waving of hands, the cars burr-r-ed and sizzed and
smoked; there were more good-byes and hand-wavings—and they
were on the long way to Overlook.

Reaching Prattsboro Polly Dudley’s car whirled ahead of the


procession and speeded around to the little gray house.

Dolly Merrifield was at the window, ready from hat to shoe, and
even more radiant than usual.
“I never was so taken back in my life,” declared Aunt Sophie,
looking up from the suitcase she was strapping. “I got a letter from
Sardis just now, telling why he didn’t answer mine. He hadn’t got it!
And to think your father should take the trouble to write! Well, if he
hadn’t, Dolly could not have gone—that’s all. I’m mighty glad he did,
and we all are. Why, Sardis says he went to the post-office and there
wasn’t any letter from me. You see, it got mixed up with somebody
else’s mail, and he hadn’t got it even then; but he’d heard about it,
though. Such doings!

“According to Sardis, anything your father says, goes. I didn’t


know he knew him; but it seems he’d heard all about him—when he
was down at Yale, I guess. He says he wouldn’t have Dolly miss it
for anything. Dear me, this string ain’t long enough! I’ll have to tie a
piece on. Thank you. Guess my fingers are nervous. There, that’s all!
My! all those autos going? Won’t you have a splendid time! How
far’d you say it was?”

“About a hundred and forty miles.”

“My!” ejaculated Mrs. Edmonson again. “Well, you’ve got a lovely


day. You’ll let me know how Dolly stood it, won’t you?” she asked a
bit anxiously as she followed the others to the sidewalk.

“I’ll send you word right away,” Polly reassured her. “Father says
she’ll get along all right, and we have a doctor right here, if we
should need anything. And a nurse, too,” she laughed. “They are
going to be with us all summer.”

“Oh, they are!” exclaimed Aunt Sophie in a relieved tone. “I shall


feel easier about her, then.”

They had reached Polly’s car, and Russell put the little girl on the
front seat, between the driver and Lilith.

Aunt Sophie stepped upon the running-board and kissed Dolly


again, and then backed out to make way for Polly.
“I’ll write to you, Aunt Sophie,” promised Dolly. “Don’t work too
hard! And don’t forget to take a nap before you do the dishes,
’cause you were up all night!”

That was a wonderful ride to most of the passengers. It was just


warm enough to be comfortable, with a fresh breeze—exactly such a
morning as Polly would have chosen.

“Tired, dear?” she questioned, smiling down into the little face.

“Not a bit,” Dolly smiled back. “Isn’t it splendid! Aren’t you glad
Sardis said yes? I wonder if he ever had such a nice ride.”

“I guess so,” laughed Polly; and then, “Have you thought, dear,
you will be nearer your brother than when you were at home?”

Dolly’s little thin face grew pink, “O—h!” she said softly.

“I don’t know just where your brother is. I must look it up. He
may be right across the New Hampshire line.”

“He is away up in the northern part.” The pink faded. “Never mind,
we shall be nearer than when I was down in Prattsboro.”

The child wagged her head delightedly, while Polly wondered what
kind of brother this was to hold such a place in his little sister’s
heart. If he were all that Dolly believed him to be, she should like to
know him.

The wind died and the air grew warm. Jozy and Esther on the
back seat were asleep.

“What time is it?” Polly turned to Lilith. “We are pretty near
Springfield.”

“Quarter of twelve.”

“Almost time for dinner. We’ll be on the lookout for a shady spot.”
“I’m famished,” declared Lilith. “Isn’t that tree big enough?”

“No,” Polly laughed. “If I remember, there is a bit of shade this


side of Northampton.”

“Do hurry up, then, for I’m sure the tots are starving.”

“Are you hungry, dear?” Polly smiled down at Dolly.

“Not much.”

“Hear that! Where is the lunch basket?” Lilith peered down over
the back of her seat. “I believe you hid it away! I don’t see anything
familiar.”

Polly looked mischievous. “There are chicken sandwiches and


cream-cheese sandwiches and chocolate snaps and oranges and
coffee and—”

“Oh!” Lilith clapped her hands to her ears. “Isn’t she naughty,
Dolly?”

“No,” answered Dolly; “she couldn’t be—ever.”

“You see, I have a stanch champion,” Polly twinkled.

“Oh, yes,” sighed Lilith in mock distress, “everybody swears


allegiance to you. I foresee what lonesome days I am going to have
up on the mountain.”

Dolly was looking at the girl with a puzzled expression. Lilith’s face
was perfectly serious.

“I love you too,” she said sweetly.

“Bless her little heart!” cried Lilith. “You and I are going to have a
lovely time at Overlook, aren’t we?”
“Yes, Miss Lilith,” answered Dolly, yet this was becoming even
more perplexing. Hadn’t she just said—

Lilith was watching her. “Did you think I was in earnest?” she
smiled. “That’s the way Polly and I amuse ourselves. I was only
joking. I am delighted to have everybody love Polly.”

At which the little face grew bright again.

“There!” exclaimed Lilith; “a tree! a tree!—it’s dinner-time!”

Polly speeded up the car and whizzed by the designated shrub.

“Oh, I say”—and the jester was serious this time—“let me out at


that little tea-room or tavern or whatever—honest, Polly, I mean it!”

So the car stopped, and the girl disappeared inside the door. Soon
she came out, her hands full of ice-cream cones which she served to
her fellow-passengers and then ran back for more.

Russell drew up beside Polly and leaped out, to follow Lilith. Dr.
Abbe was not far behind, and the three returned with more cones,
running back and forth until all were supplied.

It was a happy thought of Lilith’s, for the children were in


ecstasies, and the icy sweets were grateful to everybody. Dr. Abbe
and Russell lingered by Polly’s car, the children on the back seat
eating and chattering by turns. Suddenly Little Duke’s voice piped
high above the others’.

“Oh! it’s awful hot; but My hasn’t sweat a hair!”

Those on the front seat laughed slyly.

“Pretty good,” observed Russell softly.

“Amusing little fellow,” returned Dr. Abbe in the same tone.


Polly glanced behind. Little Duke, all unconscious of the notice,
was engaged in examining his suit of new tan linen which was his
especial admiration. Finding it still immaculate, he resumed his ice-
cream, remarking, “If My should get a drop on this, it would be
enough to drive the angels to drink.”

Russell grinned, Dr. Abbe’s lips puckered, Lilith laughed into her
handkerchief, while Polly whirled her back towards the small boy,
and chuckled.

“You seem to be in a fair way to have plenty of entertainment,”


observed Russell.

“This goes a little ahead of our regular everyday kind,” returned


Polly; “but there’s always enough to keep us cheerful.”

“It is well we didn’t wait for a woodsy dining-room,” declared Polly,


when they were again racing northward. “It doesn’t look as if we’d
find one very soon.”

It grew hotter and hotter. Polly drove faster.

“There’s a lovely place this side of South Deerfield,” observed


Lilith. “We’re nearly there, I think. Tired, Dolly dear?”

“Some,” she answered softly, with a little wan smile.

“We’re going to have dinner,” cried Polly gayly, speeding her car.
“Look ahead! See that little wood—that’s where we’re going to stop.”
And almost as she spoke the place was reached.

“Oh, how beautiful!” breathed Dolly.

The four cars drew up on the grass beside the road, lunch boxes
were opened, and very shortly everybody was eating and drinking,
the grown-ups taking only hurried nibbles until most of the children
had a glass of milk in one hand and a chicken sandwich in the other.
All felt the refreshment of the cool, green dining-room. The young
men poured the ice-cold coffee and lemonade, the girls handed out
sandwiches and cookies, oranges and small cakes, until weariness
and heat were forgotten, and everybody was in gay morning mood.

There was not much to pack away into basket and box when the
luncheon was over, only a few cookies and bottles of milk, in case of
need later in the day.

Just as they were ready to start on again, Polly called Dr. Abbe.

He came as if on wings. “At your service,” he bowed.

“Would you mind letting Dolly go to sleep in your arms?” she


asked. “I think she will be easier there.”

“I shall be glad to take her,” was his assurance.

“You might change places with one or two of the children here on
the back seat,” Polly suggested, noticing the little maid’s troubled
face. “Then Dolly will be right with me when she wakes up.”

The exchange was quickly made, and on went the cars, on and
on, through wide farm lands, beside gurgling streams and quiet
lakes. They whirled into pretty villages and out, ran along the foot of
hills and skirted deep ravines, where down, down, down, a brook
was singing. The mountains drew closer and climbed nearer the
clouds. But only the grown people saw and enjoyed it all, for the
children, to the very last one, had fallen fast asleep.

They had passed through Brattleboro and were following the


winding river when—bang!

There was an instant outcry, and everybody that was awake


peered out to discover the trouble. It was one of Russell’s tires that
was responsible for the spoiling of so many naps, and at once his
coat was off and he was getting out his tools, begging the rest to go
on and promising to follow as soon as possible. But the road was
shady and the cars came to a halt, John and Charley running to help
with the injured tire.

The little folks in Russell’s car were in mild excitement, watching


proceedings with great interest. The less fortunate ones, after vainly
craning their necks and being unable to get a satisfactory view of
the scene, gave themselves up to conversing with their neighbors or
finishing their interrupted naps.

“I say, it’s a good time for a lunch—” began Polly.

“Oh!”—“Oh, do, Miss Dudley!”—“I’m hungrier than


anything!”—“What are we goin’ to have?”—“Oh, my! are we goin’ to
have ice-cream?”

“We’re going to have cookies and milk,” replied Polly. And she
began fishing out the cakes from a deep bag.

The little folks were all wide awake at once, including Dolly
Merrifield, who looked as fresh as need be.

Polly and Dr. Abbe walked over to the workers where John, driver
of the truck, was pumping. “It was good of you to hold Dolly all this
time,” said the girl. “Isn’t she a darling?”

“She is,” he answered. And then they fell to talking of the little
maid and what they hoped the outing would do for her.

The tire was in place, the men were putting on their coats.
“Whew, but it’s hot!” ejaculated Russell, wiping his forehead with his
grimy handkerchief. “I supposed my tires were in good con—”

“Bang!”

There was a scream from Polly’s car, a series of screams, and she
and the Doctor ran ahead together. The rest came up.
“Don’t be frightened, dears! It’s only a tire.”

“I thought I was shot!” wailed Jozy. “So did I!” chimed in Grissel.

The others laughed.

“Pretty big blow-out,” said Russell. He pulled off his coat that was
on only one arm.

Dr. Abbe regarded it ruefully. “Wish I knew how to help,” he said.

“It’s a shame—” began Polly.

“It’s fine,” returned Russell; “I’m glad to have a change from


driving. They’ve chosen a good, shady spot for it. And the tools are
out—all handy.” He ran back for them.

They went at the work good-humoredly, and presently the new


tire was on, and they were ready to start.

“Miss Dudley,” began Jozy, a little shyly, “would you mind—may—


may—”

“Well, what is it?” urged Polly, one foot on the running-board.

“May I—” Jozy began again,—“do you mind if Grissel and me sit in
the other car—the big car?”

“For what?” asked Polly in astonishment.

Jozy didn’t answer.

Grissel’s courage leapt forward. “We want to sit in that,” she


pointed, “so ’s—so ’s to be there when it goes off.”

Polly gave a little shriek of laughter, in which Dr. Abbe joined.


The children looked a bit shame-faced; they did not see anything
funny. Russell was only a few steps away. He turned back
questioningly.

“Jozy and Grissel want to sit in the Gresham car, so as to be on


the spot when that takes its turn at popping!”

Russell shouted, and Jozy began to cry.

“Beg pardon, mesdemoiselles,” smiled Russell with a low bow;


“but”—glancing at the others—“that is a good one!”

Grissel’s lip went up, and she hid her face in her elbow.

“Come, come,” coaxed Polly, “there’s nothing to cry about. We


don’t expect any more punctures, so you’d better stay where you
are.” She waved Russell off and settled herself at the wheel.

“What magnificent ferns!” It was Dr. Abbe’s tribute to the


mountain road.

“Aren’t they beautiful!” responded Lilith. “Polly says it looks as if


somebody had been decorating for a wedding.”

The Doctor laughed—and blushed.

“I wonder if he is going to be married,” thought Lilith.

The way wound up and up; but No. 45678 took the steep grade
ascent without flinching, and at least one of the party thought Polly
managed her car exceedingly well. As they mounted higher and still
higher, occasional breaks in the leafy roadsides drew forth
exclamations of surprise and admiration from the travelers big and
little.

Russell drove up alongside the car ahead.


“Say,” he called, “this is great! Why didn’t you tell a fellow we
were bound for the clouds?”

“I thought you knew,” returned Polly. “I’m glad you like it.”

“Like it!” Russell took off his hat, and gazed down the valley. “It
makes a man feel pretty small,” he said.

Near at hand lay rolling, pine-scattered pastures, with now and


then a cultivated field or fruited orchard. Farther on, the little town
of Overlook stretched itself in a long line from the wooded north to
the open south, where shining pleasure cars ran in and out of the
covered bridge that spanned the village brook, looking like children’s
toys that could rest in the palm of one’s hand. Beyond stood the
green hills, with an occasional white farmhouse or a parti-colored
bungalow, and then range upon range of hazy mountains until they
melted into the sky.

On and on went the little procession, up between pines and


birches and maples, where bushes hung thick with ripening berries,
and finally into the open, leaving weather-worn farmhouses on right
and left. Rocky pastures where herds were feeding, orchards whose
trees bent with their burden of green fruit, meadows yellow with
“butter and eggs” and kingcups; these came into view and
disappeared.

“There is the site of the old town,” said Polly, waving her hand
toward a field of tall grass on her right. “Nearly one hundred years
ago Overlook was moved down into the valley, and small stones
mark the location of its principal buildings. See that monument over
there? That is where the court-house stood. Haven’t you noticed,
along the roadside, occasional little numbered granite stones?”

“Yes, and I wondered what they were for,” answered Dr. Abbe.

“Each marks the site of some house; it tells on the monument


what they were.”
Everybody looked until the spot was left well behind and a
bungalow came into view.

“That isn’t ours,” said Polly. “We are going farther to the left. It
won’t look familiar even to me, for they are putting on a new piazza
and a sleeping-porch—unless they’ve finished them already.”

“I see it!” cried Lilith. “And I do believe Benedicta is out watching


for us.”

She was. And with outspread arms she received them all, her
homely face one big welcoming smile.
CHAPTER XV

THE FIRST DAY

A
HALF-DOZEN wheel-chair girls and boys were ranged along the
wide veranda, all smilingly alert to their new surroundings.

Polly, seated on the top step of the stairs that faced the south,
looked dreamily off to the hills—thinking of David.

Russell Ely came suddenly into her line of vision, and her eyes
followed him, a trim young figure in the morning sunshine.

“Hullo!” he called presently, “come and show me the rest of it!”

“I can’t,” Polly answered. “Dr. Abbe will take you all over.”

He came nearer.

“I didn’t ask Dr. Abbe,” he objected quietly; “I asked you.”

Polly smiled and moved nearer the post as he dropped to the step
beside her.

“I have to stay with the children,” she explained.

“All the time?” queried the young man.

“Nearly.”

He shook his head. “Don’t believe I’d like it.”

“It is much more satisfactory,” she returned, “than watching time


all day.”
Russell looked at her keenly; but her eyes still kept to the hills.

“Miss Dudley, what does that mean?” Grissel pointed upward,


stretching sidewise in a vain attempt to see the words over the
entrance.

“Oh! ‘Sunrise Chalet’?”

“Yes’m—I mean, Miss Dudley. Clementina said it was ‘Sunrise


something’—she didn’t know what.”

“It is the name of the house,” Polly explained. “All the houses up
here have names or inscriptions. We’ll go to see them some day.”

“What do they have ’em for?” persisted Grissel. “And what does
‘shallay’ mean?”

“I’ll tell you all about it, honey,” broke in Benedicta, appearing in
the doorway. She moved a chair towards the child, and sat in it,
pulling her sleeves down and buttoning them about her wrists.

“You see, my Miss Flora and Mr. Aimé who live here were part
Swiss and part Scotch. Their pa was a Swiss gentleman, a
descendant of the great patriot, Mr. Arnold von Winkelried, and their
ma was a Scotland girl, and they lived in a shally in Switzerland till
their pa passed over. Then their ma, bein’ raised in Scotland, begun
to hanker after the heather—that’s a little pink flower—or sometimes
white. Wal, back she went, and it kicked up a prodigious muss with
their pa’s brother, and the joke of it is, their uncle—the old bach, him
who’s just gone—procrastinated one day too many and passed over
sudden, without a will, and my Miss Flora and Mr. Aimé possess all
that property! They inhabited Scotland as long as their ma lived;
then they came out to New York and sojourned there until Mr. Aimé
got to be a lawyer and my Miss Flora learned to be a beautiful singer
—oh, you ought to hear her! I don’t ever expect to hear anybody
sing like her till I get to heaven. My, can’t she sing! Wal, where was
I? Oh, yes! They wanted to be out in God’s country, and they built
here. They had an appalling time gettin’ somebody to do their
cookin’ till I come—that was five years ago, when my twin passed
over. My twin—his name was Benedict—lived down the mountain a
piece, and after his wife was gone I resided with him and took care
of the kids. Ben was always grumpy and he kep’ sayin’ he was going
pretty quick, pretty quick, and one day I said I sh’d think he’d try to
hold on a while longer, funerals were so inordinately expensive just
then, and he said he didn’t see much use in waitin’ when anybody
felt as bad as he did. But I could see he exhilarated up a bit, and he
stayed quite a period after that. My Miss Flora and Mr. Aimé came
for me before he passed over; but I said no, I’d stay till he got
through. After a while he had a stroke, and we buried him right out
front. Maybe you saw it comin’ up.... Yes, a little brown house with a
red barn alongside of it and the graves across the road. That’s the
place. My nephew, Young Ben, sojourns there now. I get all our milk
of him. He’s got three Guernsey cows, and they’re amazin’ healthy—
sinners and snobs! I forgot!”

Benedicta ran a short race with time, and won, for her voice came
back to them, “Ain’t I the lucky one! A minute more, and they’d
been goners sure!”

“Say!” Clementina pulled Polly’s sleeve, “Miss Dudley, when she


comes back, you shut her off! I want to talk.”

Polly shook her head soberly, though Russell’s eyes were dancing,
and the next moment Benedicta returned and with no word of
explanation resumed her story.

“Wal, let’s see, where was I? Oh, yes, to go back to my Miss Flora!
One day before they put up that shally sign over the door I was
tellin’ her how I always looked up to this house soon as I got out o’
bed, for the sun showed right here first of any locality on the
mountain. You see, this is a mite the highest situation, anyway, and
it touches up the chimney first and then the roof before it hits
anywhere else, ’cept some of the trees back. And I remember now
how my Miss Flora leaped up and clapped her hands and cried,
‘Aimé, Aimé! come here quick!’ He was establishin’ a flower bed
down there, and he came right off, and she said, ‘I’ve got it! I’ve got
it!’ ‘Got what?’ he asked, calm as a violet. ‘The name—“Sunrise
Chalet”! Isn’t that the very thing!’ Of course, he said yes—he always
chimed straight in with her, whatever. And if they didn’t have it up
soon as ever they could get it done! And there it’s been ever since.”

“And I can’t see it!” mourned Grissel.

Russell sprang to his feet, but Benedicta was ahead of him. Taking
the child in her strong arms she descended the steps and faced the
veranda.

“That looks nice,” commented the little girl, wagging her head
happily. “Now take me to see the others,” she demanded.

“Why, Grissel!” reproved Polly.

“Well, I want to see ’em,” she explained.

“That isn’t the way to ask. Besides, you are too heavy for
Benedicta.”

“Pshaw, she ain’t weightier ’n a hummin’-bird,” scorned the


woman. She was already marching off across the lawn.

Polly shook her head. “If she lets them impose upon her this way,”
she said in a soft tone, “she’ll have her hands full.”

“Suppose we follow on,” Russell suggested. “Can’t any of your kids


walk?”

“Some of them a short distance; but I can’t go now.”

“Why not? I’ll shoulder one; the rest can’t run away—that’s an
advantage.”
“Lilith will show you about,” said Polly. “Shall I call her?”

“Thank you,” he smiled politely, shaking his head; then, with a


twinkling “I can find my own way,” he picked up the girl in the next
chair and started on a run towards the invisible bungalows.

Going inside, Polly met Mrs. Daybill and Lilith coming downstairs.

“Benedicta and Russell have started on a western pilgrimage—


you’d better go, too. And do you mind taking Esther and Timmy
along? It won’t hurt them to walk as far as the Sandfords’ and the
Temples’, will it?” addressing the White Nurse.

“I don’t know how far that is; but a little walk will do them good.
What’s the matter with your going?”

“Not this morning. I’ve promised Russell to go over to Sally’s with


him after dinner.”

“All right for this once,” laughed Mrs. Daybill; “but it is not to be
‘You go and I’ll stay behind’ all summer, remember.”

It was nearly five o’clock when Polly and Russell bade good-bye to
Sally on the steps of the Robinsons’ pretty bungalow.

Some distance away Polly turned to look back at the inscription


which ran across the gable:

THE HILLS REJOICE ON EVERY SIDE

“That is the best I have seen yet,” said Russell.

“I love it,” returned Polly. “I think I’ll borrow it for the little house I
mean to build up here some day.”

“‘Up here’ is wonderful,” responded the young man. “I wish I were


going to stay.”
“Oh, do! You can help us take care of the kiddies.”

He laughed and shook his head. “Guess not this time; but I will
run up again for some week-end, if you would like me to.”

“Of course, we should. We’d be glad to see you any time.”

“I am not much interested in the ‘we,’ but if you want me to come,


I will come. Do you want me, Polly?”

“Certainly I do. Why shouldn’t I?”

“Well, I didn’t know. I am not sure about it now.”

“You foolish boy! As if I wouldn’t! What possible reason could I


have for not wishing you to come?”

Russell grew grave. He turned and looked squarely into Polly’s


eyes, looked until the brown eyes wondered—half understood—and
fell away from the passionate gaze.

“Don’t be silly!” she said.

Then all the man in him burst forth.

“Is it silly to love you, Polly Dudley? to wish to be with you? to


covet the right to give you everything that can add to your pleasure
and happiness? to long to hold you in my arms and to call you my
wife? Is that silliness? If it is, I plead guilty.”

Polly did not look up. The red burned in her cheeks and crept up
under the little curls that fell over her forehead.

“I suppose I am a fool,” Russell went on. “First, to come up here


at all, and then to blurt out like this, when I had made up my mind
to wait. But, of course, you’ve seen all along how it was, ever since
—why, ever since the first day I saw you at high school, away back
when we were kids. But David Collins was always in my way. How I
longed to knock him aside! You have seen it all—haven’t you, Polly?”

A tiny shake of the drooping head.

“I don’t understand how you could help seeing—only you were


never the girl to imagine every fellow in love with you that happened
to wish you good-morning.”

There was a moment’s silence. Presently he asked, “Haven’t you a


single word for me, Polly?”

Even then she did not speak at once. Finally the answer came.

“I am sorry, Russell—oh, I’m so sorry! I never dreamed it!” She


glanced up, and the eyes that looked into his were mournful.

He drew a deep breath. “Don’t grieve over it, Polly. I ought to


have known how it would be. It’s all right.” He was looking straight
ahead, and his voice seemed far away. “I hoped you did care for me
—a little; but if you—do not—” The words suddenly halted.

“I am afraid you don’t quite understand. I like you, Russell, I have


always liked you; but—there is David!”

“Polly!” He stared at her in amazement. “Surely you do not care


for David Collins—after his abominable treatment of you! It is
unbelievable.”

A sad little smile fluttered over Polly’s face. “I do love him just as
well as ever I did. Those things—happened because he was jealous
—and angry. I told him that I could have nothing more to do with
him until he would trust me—that’s all. I suppose he isn’t ready to
trust me yet.”

Russell shook his head. “I see,” he said grimly. “Forgive me, Polly.
I supposed that all was over between you and David. I have made a
mess of it.”

“No, no!” Polly hastened to say. “I’m only sorry that you—you—
feel as you do. We have always been such good friends.”

He looked down at her with a little sad, tender smile. “And we


will”—there was the hint of a break—“be good friends still, won’t we,
Polly?”
CHAPTER XVI

BENEDICTA MAKES IT GO

SAY, Miss Polly, I wish you’d let me run that machine o’ yours.”

The girl turned from her Singer with a welcoming smile.

“Why, I will, Benedicta. I’ll teach you any time. It isn’t much to
learn. Or if you want some stitching done, I’ll do it for you gladly.”

“Mercy, no!” laughed the housekeeper. “I manipulated that long


before you was born—I mean, one just like it. What I’m yearning for
is to be sittin’ up in your chariot, makin’ it go like the dickens.”

“My car?—Oh!” gasped Polly. “I thought you meant this.”

“Don’t you s’pose I c’u’d learn? Or would you be afraid I’d spile
it?”

“No, indeed! you wouldn’t hurt the car—unless you should take a
flying leap down to Overlook village.”

“Guess I won’t cut up no such idiot caper as that,” laughed


Benedicta. “But, my! if I could make it go, I’d be so imperious you’d
think I belonged to the court of Spain.”

Polly chuckled. “It is easy enough to make it go,” she said, “but
somewhat of a stunt to get to where you can keep it under perfect
control. Still, you are quick of thought and have a level head; I don’t
doubt you can make a good driver. The only trouble is, you are so
fearless you might take risks; that isn’t wise. You and I will go out
this afternoon and see what we can do, unless you are too tired
when you get through with your work.”
“Tired!” sniffed Benedicta.

“Aren’t you—ever?” questioned Polly.

“Oh, I get weary occasionally; but gen’ally I keep goin’.”

“And you never feel that you cannot stand up another minute?”

“Yere, once in a while I do.”

“What then?”

“Wal,” said Benedicta slowly, “if I c’n see a place where I c’n set
down, I set. But if I can’t, I just smile and go it.”

“Smile?”

“Yere. Don’t seem as if smilin’ would help out so much, but it


does. Smilin’ is amazin’ly restful.”

“I wonder if that is how you can do so much work,” marveled


Polly. “If it is, I think I will smile.”

“Sinners and snobs! when don’t you smile? Telegraph me when ye


ain’t goin’ to—I’d like to be there. I’ll have to come by lightnin’,
though.”

She left Polly laughing, and went to finish mopping the balcony
floor.

“Benedicta and I are going down to Overlook,” was all Polly told of
their plans as they set off at three o’clock.

“Mayn’t Grissel and I go?” begged Clementina coaxingly.

“Not to-day, dearie,” was the brief answer. And Lilith, as well as
the children, was surprised and a bit disappointed in view of the
empty back seat. Hitherto it had been contrary to the principles of
No. 45678 to run to Overlook or anywhere else with only two
passengers.

On the level road leading through Overlook, Benedicta received


her preliminary instructions and took the steering-wheel in her
strong hands. She succeeded in driving the car slowly and jerkily for
several rods and presently stopped with a sudden bump. Being
convinced that the machine was safely at rest, she leaned back and
drew a long, delighted breath.

“Shudders and shades!” she ejaculated; “be I still on terra firma?


Ain’t it fun! But it’s deliriously ticklish.”

Polly laughed. “You like it, then?”

“Like it! It’s the topgallantest play I ever tried! To think I made it
go—me!”

“You did pretty well for the first time,” commended Polly.

“I should say so!” gasped Benedicta. “I never anticipated that


runnin’ this chariot was so perturbative.”

“Dear, dear!” laughed Polly; “what big words you do use! You take
my breath away.”

“Teeters and tongs!” exclaimed Benedicta scornfully, “if you think I


use lengthy words, you ought to hear Mr. Aimé talk. His are the
grandest I ever heard. My Miss Flora laughs at him and says he
swallowed the dictionary when he was three and has been spouting
it up ever since. But I told him I adored his kind of talk, and from
that if he didn’t begin to learn—I mean, ‘teach’—me some of his
stretched-out words, and I put ’em down so I can look ’em over
once in a while. But I can’t hold a spark to him. I forget ’em so.
Seem ’s if my memory bag must be made of openwork, for there’s
always something slippin’ out. But, my! what an improvident mortal I
be—gabbin’ this way when I ought to be drivin’ the chariot! What do
I do to start—oh, yes, I know!”

Polly nodded assent to her questioning glance, and again they


whirled along the smooth road.

Late in the afternoon Polly drove back up the mountain; but when
they were nearly within sight of home Benedicta begged so
earnestly to announce her new achievement in her own way, that
finally she was allowed to take the wheel.

“I want to sweep up to the house in one glorious curve,” she


exulted. “Won’t they be surprised!”

So intent was the driver upon the little veranda group that she
nearly forgot her part in the affair. The machine wabbled along in a
most inglorious way, tilted into a gully beside the road, and began
slipping slowly downhill.

“Put your foot on the brake!” cried Polly, grasping the emergency
lever and forcing it back.

The car meekly stopped.

“Sinners and snobs!” exclaimed Benedicta. “And I’m the sinner!—


and the snob too! Let me get out! Let me get out!”

“Never mind,” comforted Polly; “sit still and turn the car into the
road—you can do it. Put your foot—”

But Benedicta was on the ground, and running towards the


kitchen door.

Polly drove the car into the garage and then followed the
disquieted housekeeper.
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!

ebooknice.com

You might also like