You are previewing SCEA Sun® Certified Enterprise Architect for java™ EE Study Guide: (Exam 310-051).
O'Reilly logo
SCEA Sun® Certified Enterprise Architect for java™ EE Study Guide: (Exam 310-051)

Book Description

The Best Fully Integrated Study System Available

With hundreds of practice questions and hands-on exercises, Sun Certified Enterprise Architect for Java EE Study Guide covers what you need to know--and shows you how to prepare--for this challenging exam.

• 100% complete coverage of all official objectives for exam 310-051

• Inside the Exam sections in every chapter highlight key exam topics covered

• Simulated exam questions match the format, tone, topics, and difficulty of the real exam

Covers all the exam topics, including:

Basic Principles of Enterprise Architectures * Object-Oriented Design Using UML * Applicability of JEE Technology * Design Patterns * Legacy Connectivity * EJB and Container Models * Messaging * Internationalization and Localization * Security

CD-ROM includes:

• Complete MasterExam practice testing engine, featuring: One full practice exam: Detailed answers with explanations: Score Report performance assessment tool

• Electronic book for studying on the go

• With free online registration: Bonus downloadable MasterExam practice test

Table of Contents

  1. Cover Page
  2. SCEA Sun® Certified Enterprise Architect for java™ EE Study Guide: (Exam 310-051)
  3. Copyright Page
  4. Dedication
  5. About the Contributors
  6. Contents At a Glance
  7. Contents
  8. Preface
  9. Acknowledgments
  10. Introduction
  11. 1 Sun Certification for the Enterprise Architect
    1. Widespread Capabilities for Application Development
      1. Java Is the Glue That Binds the Application Development Process
      2. Companies Increasingly Need the Internet to Compete
      3. Challenges of Application Development for the Enterprise
        1. Increasing Programmer Productivity
        2. JEE Architecture Must Respond to Consumer Demand
        3. The Architect Must Be Able to Integrate JEE and Legacy Systems
        4. The JEE Standard Promotes Competition and Choices
      4. Design Goals of JEE Architecture
        1. JEE Architects Should Strive for Service Availability
        2. JEE Architecture and Connectivity to Existing Data
        3. Expanded User Definition: Customers, Employees, and Partners
        4. Flexible User Interaction
        5. Flexible Business Component Model
      5. Sun Certified Enterprise Architect Distinguishes the JAVA Professional
      6. General SCEA Test Preparation Tips
  12. 2 Common Architectures and Protocols
    1. Types of Architecture
      1. System Architecture
      2. Reference Architecture
      3. Flexible Reference Architecture
    2. Architectural Design and Principles
      1. Where Architecture Fits in Analysis, Design, and Development
    3. Architectural Terminology
      1. Abstraction
      2. Surface Area
      3. Boundaries
      4. Brittleness
      5. Capabilities, Friction, and Layering
    4. Principles of Architecture
      1. Layering
      2. Tiers
      3. Capabilities of an Architecture
    5. Creating an Architecture Using Distributed Services and JEE
      1. Enterprise JavaBeans
      2. Distributed Application Life cycle
      3. Iterative Development/MVC
      4. Simplified Architecture and Development
      5. Component-Based Application Models
    6. JEE APIs and Certification
      1. JEE Specification
      2. JEE Reference Implementation
      3. Sun BluePrint Design Guidelines for JEE
    7. XML and JEE
      1. Why Use XML?
      2. Electronic Data Exchange and E-Commerce
      3. Electronic Data Interchange (EDI)
      4. Enterprise Application Integration (EAI)
      5. Software Development and XML
      6. XML Technology and the Java Platform
    8. Distributed Programming Services
      1. Naming and Registration
      2. Remote Method Invocation (RMI)
      3. Protocols
      4. Distributed Object Frameworks
      5. Exercise 2-1 Role of Architect
      6. Exercise 2-2 Architecture Terminology
      7. Exercise 2-3 Abstraction, Boundaries, Brittleness, and Capabilities
      8. Exercise 2-4 Fundamentals of System Architecture
      9. Exercise 2-5 Abstraction
    9. Certification Summary
    10. Two-Minute Drill
    11. Given an Architecture Described in Terms of Network Layout, List Benefits and Potential Weaknesses Associated with It
    12. Q&A Self Test
    13. Self Test Answers
  13. 3 Object-Oriented Analysis and Design
    1. Analysis and Design of Object-Oriented Architecture
      1. Key Features of OOP: Objects and Classes
      2. Defining Object-Oriented Analysis and Design
      3. Project Life Cycle
    2. Unified Modeling Language
      1. Elements Used in UML
      2. Relationships Used in UML
      3. Diagrams Used in UML
      4. Stereotypes
      5. Practical Use of UML Diagrams
      6. Two-Minute Drill
    3. Q&A Self Test
      1. Self Test Answers
  14. 4 Applicability of JEE Technology
    1. Explain the JEE Architecture and System Requirements
      1. JEE Technology Layers Applied
      2. JEE Application Components
      3. JEE Architecture
      4. Exercise 4-1 JEE Architecture and the Nonfunctional Requirements of a System
      5. Development Methodology and Process
    2. Explain the Use of Patterns in the JEE Framework
      1. Use of Patterns in the JEE Framework
      2. Exercise 4-2 Patterns in the JEE Framework and Development
    3. Describe the Concepts of “Best Practices” and “Guidelines”
      1. Identifying the Need for Best Practices
      2. Best Practice: Client Tier
    4. Illustrate the Use of JEE for Workflow
      1. Best Practice: MVC Pattern
      2. Exercise 4-3 Structuring Development
      3. Exercise 4-4 Defining Best Practice and Guideline
    5. Review Best Practices Applicable for All Tiers
    6. Review Best Practices for the Client Tier
    7. Enumerate the Components and Categories of the Web Tier
    8. Explain How to Apply MVC to the Web Tier
    9. Review the Best Practices for the Presentation Layer
    10. Exercise 4-5 Illustrate the Use of JEE for Workflow
    11. Review the Internationalization and Localization
    12. Internationalization, Localization, and Locale
    13. Exercise 4-6 Localization and Internalization
    14. The EJB Tier
      1. JEE Best Practices: Data Access Objects
      2. JEE Best Practices: Value Objects
      3. JEE Best Practices: Session Bean Facade
      4. JEE Best Practices: Master Detail
      5. Exercise 4-7 Data Access Objects
      6. Exercise 4-8 Value Objects
      7. Exercise 4-9 Facades
      8. JEE Best Practices: EIS Integration Tier
      9. JEE Connector Overview
    15. Illustrate When to Use JEE Technology for Given Situations
      1. EIS Guidelines: Data Access
      2. EIS Access Objects
      3. Guidelines: Connections
      4. Performance-Related Best Practices: Data Caching
      5. JEE Best Practices: Services
    16. Security
      1. Security Terminology
      2. Authentication in the EJB and EIS Integration Tiers
      3. Transactions
      4. Transaction Guidelines in EIS
      5. Exercise 4-10 Security Guidelines
      6. Exercise 4-11 The Role of Transactions
      7. Two-Minute Drill
    17. Q&A Self Test
      1. Self Test Answers
  15. 5 Design Patterns
    1. Identify the Benefits of Using Design Patterns
      1. Design Patterns by Gamma et al., also known as The Gang of Four (GoF)
    2. Identify the Most Appropriate Design Pattern for a Given Scenario
      1. GoF Creational Design Patterns
      2. GoF Structural Design Patterns
      3. GoF Behavioral Design Patterns
      4. Sun’s J2EE Patterns
    3. State the Name of a Gamma et al. Design Pattern Given the UML Diagram and/or a Brief Description of the Pattern’s Functionality
    4. Identify Benefits of a Specified Gamma et al. Design Pattern
    5. Identify the Gamma et al. Design Pattern Associated with a Specified Java EE Technology Feature
      1. Two-Minute Drill
    6. Q&A Self Test
      1. Self Test Answers
  16. 6 Legacy Connectivity
    1. Introduction to Legacy Connectivity
      1. Legacy Connectivity Using Java: the Classic Approach
      2. Legacy Connectivity Using JEE Connector Architecture
    2. Java Connector Architecture
      1. JEE Connector Architecture: A General Integration Strategy
      2. The Structure of the JCA
      3. Basic JCA 1.0 Adapter Implementation
      4. JCA 1.5 Adapter Implementation
      5. Distinguish Appropriate from Inappropriate Techniques for Providing Access to a Legacy System from Java Technology Code Given an Outline Description of That Legacy System
      6. Exercise 6-1 Techniques and Best Practices
      7. Exercise 6-2 Implementing Data Validation and Referential Integrity Contraints
      8. Exercise 6-3 Legacy Mapping
      9. Exercise 6-4 Transaction Monitors
      10. Exercise 6-5 Off-Board Servers
      11. Exercise 6-6 JDBC vs. ODBC
      12. Exercise 6-7 Accessing Legacy System Software
      13. Exercise 6-8 Accessing COM Objects
      14. Exercise 6-9 RMI vs. CORBA
      15. Two-Minute Drill
    3. Q&A Self Test
      1. Self Test Answers
  17. 7 Enterprise JavaBeans and the EJB Container Model
    1. JSR 220: Enterprise JavaBeans 3.0
    2. List the Required Classes/Interfaces That Must Be Provided for an Enterprise JavaBeans Component
    3. Classes and Interfaces Prior to EJB 3.0
    4. Classes and Interfaces for EJB 3.0
    5. Distinguish Between Session and Entity Beans
      1. Session and Entity Beans
      2. Recognize Appropriate Uses for Entity, Stateful Session, and Stateless Session Beans
      3. When to Use Entity and Session JavaBeans
      4. Distinguish Between Stateful and Stateless Session Beans
      5. Using Session Beans
      6. Exercise 7-1 Review Code for a Stateless Session Bean (Prior to EJB 3.0)
      7. Exercise 7-2 Review Code for a Stateful Session Bean (Prior to EJB 3.0)
      8. Using Entity Beans (Prior to EJB 3.0)
      9. Exercise 7-3 Review Code for Entity Bean Using Container-Managed Persistence (Prior to EJB 3.0)
      10. A Closer Look at Entity Beans (Prior to EJB 3.0)
      11. State the Benefits and Costs of Container-Managed Persistence
      12. Managing Persistence (Prior to EJB 3.0)
      13. EJB Clients (Prior to EJB 3.0)
      14. Entity Beans (EJB 3.0)
      15. State the Transactional Behavior in a Given Scenario for an Enterprise Bean Method with a Specified Transactional Deployment Descriptor
      16. Transactions and Transaction Management
      17. Given a Requirement Specification Detailing Security and Flexibility Needs, Identify Architectures That Would Fulfill Those Requirements
      18. Security
      19. EJB Framework (Prior to EJB 3.0)
      20. Identify Costs and Benefits of Using an Intermediate Data Access Object Between an Entity Bean and the Data Resource
      21. Using Data Access Objects for Entity Beans
      22. State the Benefits of Bean Pooling in an EJB Container
      23. Bean Pooling in the EJB Container
      24. State the Benefits of Passivation in an EJB container
      25. Passivation/Activation
      26. Explain How the Enterprise JavaBeans Container Does Life Cycle Management and Has the Capability to Increase Scalability
      27. The Life Cycle of an EJB
      28. Two-Minute Drill
    6. Q&A Self Test
      1. Self Test Answers
  18. 8 Messaging
    1. Messaging Basics
      1. Messages
      2. Middleware
      3. Message-Oriented Middleware
      4. Communication Modes
    2. Identify Scenarios That Are Appropriate to Implementation Using Messaging
    3. List Benefits of Synchronous and Asynchronous Messaging
    4. Identify Scenarios That Are More Appropriate to Implementation Using Asynchronous Messaging, Rather Than Synchronous
    5. Identify Scenarios That Are More Appropriate to Implementation Using Synchronous Messaging, Rather Than Asynchronous
    6. Java Message Service
      1. Handling Exceptions
      2. Managing Sessions
      3. Components of a JMS Message
      4. Required Components of a JMS Application
      5. Objects Used to Create and Receive Messages in a JMS Client Application
      6. How the Point-to Point Message Model Works
      7. How the Publish/Subscribe Message Model Works
      8. Message-Driven Bean (MDB) Component
    7. Identify Scenarios That Are Appropriate to Implementation Using Messaging, Enterprise JavaBeans Technology, or Both
      1. Two-Minute Drill
    8. Q&A Self Test
      1. Self Test Answers
  19. 9 Internationalization and Localization
    1. State Three Aspects of Any Application That Might Need to Be Varied or Customized in Different Deployment Locales
    2. Internationalization and Localization
    3. Overview of Internationalizing an Application
    4. List Three Features of the Java Programming Language That Can Be Used to Create an Internationalizable/Localizable Application
      1. Java Support for Internationalization and Localization
      2. Using Java Internationalization APIs in JEE Applications
      3. Web Tier Internationalization
      4. Logging and Error Messages
      5. Two-Minute Drill
    5. Q&A Self Test
      1. Self Test Answers
  20. 10 Security
    1. Security
    2. Identify Security Restrictions That Java Technology Environments Normally Impose on Applets Running in a Browser Applets in a Browser
      1. Applets in a Browser
    3. Given an Architectural System Specification, Identify Appropriate Locations for Implementation of Specified Security Features and Select Suitable Technologies for Implementation of Those Features
      1. Authentication
      2. Authorization
      3. Two-Minute Drill
    4. Q&A Self Test
      1. Self Test Answers
  21. 11 Case Study: Overview of Securities Trading System
    1. The Case Study Infrastructure
      1. WebSphere Application Server
      2. Continuous Trade Processing
      3. SQLBIS Database Server
    2. Model and Develop the Case Study
      1. Actor Definition
      2. Business Process Model
      3. Sequence Diagrams
      4. Class Descriptions
      5. Class Diagrams
      6. State Transition (Life cycle) Diagrams
    3. Trade System Design and Implementation
    4. Stock Order Entry Screen
    5. Trade Application Packages
    6. Trade Application Implementation Infrastructure
  22. A About the CD
  23. Glossary
  24. Index