Home > Store

Sun Certified Enterprise Architect for Java EE Study Guide, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Sun Certified Enterprise Architect for Java EE Study Guide, 2nd Edition

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2010
  • Dimensions: 7" x 9-1/8"
  • Pages: 224
  • Edition: 2nd
  • Book
  • ISBN-10: 0-13-148203-3
  • ISBN-13: 978-0-13-148203-6

Definitive, Comprehensive SCEA Exam Prep–Straight from Sun’s Exam Developers!

 

This book delivers complete, focused review for Sun’s new Sun Certified Enterprise Architect (SCEA) for Java EE certification exam–straight from two of the exam’s creators! SCEA lead developer/assessor Mark Cade and SCEA lead developer/assessor Humphrey Sheil offer powerful insights, real-world architectural case studies, and challenging sample questions that systematically prepare you for the actual exam. For every question, the authors show why the right answers are right–and why the other answers are wrong. Cade and Sheil cover every SCEA exam topic, skill, and technique, including:

  • Understanding system architecture and its goals
  • Decomposing larger systems into components organized by tiers or layers
  • Addressing requirements for scalability, maintainability, reliability, availability, extensibility, performance, and security
  • Building effective web (presentation) tiers, and analyzing tradeoffs associated with using web frameworks
  • Leveraging EJB 3’s enhancements for business tier development
  • Covering new enhancements in the JEE 5 platform
  • Choosing and architecting the best integration and messaging components for your system
  • Using the Java security model to enforce confidentiality, integrity, authorization, authentication, and non-repudiation
  • Using the most powerful and useful Java EE architecture patterns
  • Documenting Java EE architectures through visual models and narratives

The authors also present detailed guidance for handling every element of the SCEA exam–including your development and defense of a complete real-world architectural solution.

Sample Content

Online Sample Chapter

SCEA for Java EE Exam Prep: Web Tier Technologies

Table of 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

            Generality . . . 16

            Coupling and Cohesion . . . 16

            Volatility . . . 16

            Configuration . . . 16

            Planning and Tracking . . . 17

            Work Assignment . . . 17

Tiers . . . 17

            Client . . . 17

            Web . . . 18

            Business . . . 18

            Integration . . . 18

            Resource . . . 18

Layers . . .18

            Application . . . 19

            Virtual Platform (Component APIs) . . . 19

            Application Infrastructure (Containers) . . . 19

            Enterprise Services (OS and Virtualization) . . . 19

            Compute and Storage . . . 19

            Networking Infrastructure . . . 20

Service-Level Requirements . . . 20

            Performance . . . 20

            Scalability . . . 20

            Reliability . . . 21

            Availability . . . 21

            Extensibility . . . 22

            Maintainability . . . 22

            Manageability . . . 22

            Security . . . 22

Impact of Dimensions on Service-Level Requirements . . . 23

            Capacity . . . 23

            Redundancy . . . 23

            Modularity . . . 23

            Tolerance . . . 24

            Workload . . . 24

            Heterogeneity . . . 24

Common Practices for Improving Service-Level Requirements . . . 24

            Introducing Redundancy to the System Architecture . . . 24

            Improving Performance . . . 27

            Improving Availability . . . 28

            Improving Extensibility . . . 29

            Improving Scalability . . . 30

Tiers in Architecture . . . 30

Two-Tier Systems . . . 31

            Advantages . . . 31

            Disadvantages . . . 31

Three- and Multi-Tier Systems . . . 31

            Advantages . . . 32

            Disadvantages . . . 32

Essential Points . . . 32

Review Your Progress . . . 33

Chapter 3 Web Tier Technologies . . . 35

Introduction . . . 35

Prerequisite Review . . . 36

Model View Controller (MVC) . . . 36

Web Container . . . 36

Servlets . . . 37

Filters . . . 38

Listeners . . . 39

JavaServer Pages (JSP) . . . 39

Java Standard Tag Library (JSTL) . . . 40

Unified Expression Language (EL) . . . 40

Managing Sessions . . . 40

JavaServer Faces (JSF) . . . 41

Templating Frameworks . . . 41

Web Frameworks . . . 42

Discussion . . . 42

JSPs and Servlets–Standard Uses . . . 42

JSF–Standard Uses . . . 43

Web-Centric Implementations . . . 43

EJB-Centric Implementations . . . 44

Rationale for Choosing Between EJB-Centric and Web-Centric Implementations . . . 45

The Future of Client-Server Communication . . . 46

Essential Points . . . 46

Review Your Progress . . . 47

Chapter 4 Business Tier Technologies . . . 51

Introduction . . . 51

Prerequisite Review . . . 52

Enterprise Java Bean . . . 53

Session Bean . . . 54

            Stateless Session Bean . . . 54

            Stateful Session Bean . . . 55

Entity Beans . . . 56

CMP Entity Bean . . . 56

BMP Entity Bean . . . 57

Entity Class . . . 57

Persistence Strategies . . . 58

Message-Driven Bean . . . 58

Discussion . . . 59

EJB Advantages and Disadvantages . . . 59

            Scalability . . . 59

            Security . . . 60

Contrasting Persistence Strategies . . . 60

            Ease of Development . . . 60

            Performance . . . 60

            Extensibility . . . 61

EJB and Web Services . . . 61

            EJBs as Web Service End Points . . . 61

            EJBs Consuming Web Services . . . 61

            Advantages and Disadvantages . . . 62

EJB 3 . . . 62

            Ease of Development . . . 63

            Container in EJB 3 . . . 63

            JPA in EJB 3 . . . 63

Essential Points . . . 64

Review Your Progress . . . 65

Chapter 5 Integration and Messaging . . . 69

Introduction . . . 69

Prerequisite Review . . . 70

Web Services . . . 71

SOAP . . . 71

WSDL . . . 72

JAX-RPC . . . 72

JAX-WS . . . 72

JAXB . . . 72

JAXR . . . 73

JMS . . . 73

JCA . . . 74

Discussion . . . 75

Java to Java Integration . . . 75

            Java Messaging Service (JMS) . . . 76

Java to Non-Java Integration . . . 76

            Web Services . . . 76

            Java Connector Architecture (JCA) . . . 77

Essential Points . . . 78

Review Your Progress . . . 78

Chapter 6 Security . . . 83

Introduction . . . 83

Prerequisite Review . . . 84

JRE . . . 85

JAAS . . . 85

Credential . . . 85

Principal . . . 86

Authentication . . . 86

Authorization . . . 86

Discussion . . . 86

Client-Side Security . . . 87

Server-Side Security . . . 88

            EJB Container . . . 88

            Web Container . . . 88

            Putting the EJB Container and Web Container Together . . . 89

            Web Service Security . . . 90

How Security Behavior Is Defined . . . 91

            Declarative Security . . . 91

            Programmatic Security . . . 92

Commonly Encountered Security Threats . . . 93

Defining a Security Model . . . 94

Essential Points . . . 95

Review Your Progress . . . 95

Chapter 7 Applying Patterns . . . 99

Introduction . . . 99

Prerequisite Review . . . 100

Discussion . . . 101

Creational Patterns . . . 101

            Abstract Factory Pattern . . . 101

            Builder Pattern . . . 103

            Factory Method Pattern . . . 104

            Prototype Pattern . . . 105

            Singleton Pattern . . . 106

Structural Patterns . . . 107

            Adapter Pattern . . . 107

            Bridge Pattern . . . 108

            Composite Pattern . . . 109

            Decorator Pattern . . . 111

            Façade Pattern . . . 112

            Flyweight Pattern . . . 113

            Proxy Pattern . . . 114

Behavioral Patterns . . . 115

            Chain of Responsibility Pattern . . . 115

            Command Pattern . . . 116

            Interpreter Pattern . . . 117

            Iterator Pattern . . . 118

            Mediator Pattern . . . 119

            Memento Pattern . . . 120

            Observer Pattern . . . 121

            State Pattern . . . 122

            Strategy Pattern . . . 123

            Template Method Pattern . . . 124

            Visitor Pattern . . . 125

Core Java EE Patterns . . . 126

Presentation Tier . . . 126

            Intercepting Filter . . . 126

            Context Object . . . 127

            Front Controller . . . 128

            Application Controller . . . 129

            View Helper . . . 129

            Composite View . . . 130

            Dispatcher View . . . 131

            Service to Worker . . . 132

Business Tier . . . 132

            Business Delegate . . . 133

            Service Locator . . . 133

            Session Façade . . . 134

            Application Service . . . 135

            Business Object . . . 136

            Composite Entity . . . 136

            Transfer Object . . . 137

            Transfer Object Assembler . . . 138

            Value List Handler . . . 139

Integration Tier . . . 139

            Data Access Object . . . 140

            Service Activator . . . 140

            Domain Store . . . 141

            Web Service Broker . . . 142

Essential Points . . . 143

Review Your Progress . . . 146

Chapter 8 Documenting an Architecture . . . 149

Introduction . . . 149

Prerequisite Review . . . 149

Discussion . . . 150

Building Blocks of UML . . . 150

            Elements . . . 151

            Structural Elements . . . 151

            Behavioral Elements . . . 152

            Grouping Element . . . 153

            Annotational Elements . . . 153

            Relationships . . . 154

Common Mechanisms . . . 155

            Specifications . . . 155

            Adornments . . . 155

            Common Divisions . . . 156

            Extensibility Mechanisms . . . 156

UML Diagrams . . . 157

Structure Diagrams . . . 157

            Class Diagram . . . 157

            Component Diagram . . . 157

            Deployment Diagram . . . 159

            Package Diagram . . . 159

Behavior Diagrams . . . 160

            Activity Diagram . . . 160

            Statechart Diagram . . . 161

            Use-Case Diagram . . . 162

Interaction Diagrams . . . 163

Essential Points . . . 164

Review Your Progress . . . 164

Chapter 9 Tackling Parts II and III . . . 167

Introduction . . . 167

Prerequisite Review . . . 167

Discussion . . . 168

Scenario . . . 168

Worked Solution . . . 170

Class Diagram . . . 170

Component Diagram . . . 173

Deployment Diagram . . . 174

Sequence Diagrams . . . 176

Comments on Diagrams . . . 178

Identified Risks and Mitigations . . . 178

Part III–Defending Your Architecture . . . 179

Essential Points . . . 180

Index . . . 181

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020