Sun Certified Enterprise Architect for Java EE Study Guide (2nd ed.) [Cade & Sheil 2010-02-08].pdf

(2328 KB) Pobierz
Sun Certified Enterprise Architect
for Java
EE Study Guide
Second Edition
Mark Cade and Humphrey Sheil
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 trademarks.
Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations
have been printed with initial capital letters or in all capitals.
Sun Microsystems, Inc. has intellectual property rights relating to implementations of the technology described in
this publication. In particular, and without limitation, these intellectual property rights may include one or more U.S.
patents, foreign patents, or pending applications.
Sun, Sun Microsystems, the Sun logo, J2ME, J2EE, Java Card, and all Sun and Java based trademarks and logos are
trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and 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 kind, either express or implied, including, but not limited
to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This publication
could include technical inaccuracies or typographical errors. Changes are periodically added to the information
herein; these changes will be incorporated in new editions of the publication. Sun Microsystems, Inc. may make
improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time.
The authors and publisher have taken care in the preparation of this book, but make no expressed or implied
warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or
consequential damages in connection with or arising out of the use of the information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or 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:
U.S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the United States, please contact:
International Sales
international@pearson.com
Visit us on the Web: informit.com/ph
Library of Congress Cataloging-in-Publication Data:
Cade, Mark.
Sun Certified Enterprise Architect for Java EE study guide / Mark Cade, Humphrey Sheil. — 2nd ed.
p. cm.
Previous ed.: Sun Certified Enterprise Architect for J2EE technology study guide, 2002.
ISBN 978-0-13-148203-6 (pbk. : alk. paper) 1. Electronic data processing personnel—Certification. 2. Java
(Computer program language)—Examinations—Study guides. I. Sheil, Humphrey. II. Cade, Mark. Sun Certified
Enterprise Architect for J2EE technology study guide. III. Title.
QA76.3.C23 2010
005.13’3—dc22
2009052010
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-13-148203-6
ISBN-10: 0-13-148203-3
Text printed in the United States on recycled paper at RR Donnelley in Crawfordsville, Indiana
First printing February 2010
I dedicate this book to my lovely wife Lara for putting up with all the long hours.
Your support, compassion, and love drove me to finish this book. I look forward to
a wonderful vacation to make up for the time spent on this book.
—Mark Cade
I wish the reader of this book the very best toward passing the SCEA exam,
and in the process, becoming a better architect. Better architects create better
designs and code—and that’s what we all strive to do.
—Humphrey Sheil
This page intentionally left blank
Contents
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . xv
About the Authors . . . . . . . . . . . . . . . . . . . . . . . xvii
Chapter 1
What Is Architecture? . . . . . . . . . . . . . . . . . . . . . . 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Prerequisite Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Understanding Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Role of the Architect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
More Detail on the Exam Itself . . . . . . . . . . . . . . . . . . . . . . . . . 6
Part I: Multiple Choice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part II: Solving the Business Problem . . . . . . . . . . . . . . . . . . . 8
Part III: Defending Your Solution . . . . . . . . . . . . . . . . . . . . . . . 9
Preparing for the Exam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Preparing for Part I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Preparing for Part II . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Preparing for Part III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Essential Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Review Your Progress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 2
Architecture Decomposition . . . . . . . . . . . . . . . . 13
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Prerequisite Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Decomposition Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Layering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Exposure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Zgłoś jeśli naruszono regulamin