Sams - Teach Yourself EJB in 21 Days
Main Page
Table of content
Copyright
About the Authors
Acknowledgments
We Want to Hear from You!
Introduction
How This Book Is Organized
About This Book
Who Should Read This Book
Week 1: Enterprise Java Architecture
Day 1. Understanding EJB Architecture
The Challenges of Developing Enterprise Applications
What's an EJB?
EJB Architecture Overview
Why EJB?
Looking Inside an EJB
Essential EJB Container Services
Understanding EJB Roles
The University Registration System
Best Practices
Summary
Q&A
Quiz
Exercises
Day 2. Understanding EJB Types and Interfaces
Enterprise JavaBean Types
Enterprise JavaBean Under the Hood
EJB Interfaces
Java Remote Method Invocation over Internet Inter-ORB Protocol Technology
Remote and Local Interfaces
Deployment Descriptors
Packaging and Deploying Enterprise JavaBeans
Enterprise JavaBean Restrictions
Best Practices
Summary
Q&A
Quiz
Exercises
Day 3. Understanding Session Beans
What Is Conversational State?
What Are Session Beans?
Session Bean Files
Characteristics of Session Beans
Types of Session Beans
Session Bean Methods
Life Cycle of Session Beans
Comparing Stateless and Stateful Session Beans
Best Practices
Summary
Q&A
Quiz
Exercises
Day 4. Using JNDI for Naming Services and Components
Naming Services
Directory Services
What Is JNDI?
JNDI API
Context Operations
Using JNDI in J2EE Applications
Best Practices
Summary
Q&A
Quiz
Exercises
Day 5. Developing Stateless Session Beans
Looking Under the Hood of a Stateless Session Bean
Designing the Stateless Session Bean
Implementing the Stateless Session Bean
Packaging the Enterprise Bean
Writing a Client
Running the Example
Best Practices
Summary
Q&A
Quiz
Exercises
Day 6. Developing Stateful Session Beans
Looking Under the Hood of the Stateful Session Bean
Designing the Stateful Session Bean
Implementing the Stateful Session Bean
Writing the Client
Packaging and Deploying the Enterprise Bean
Running the Example
Best Practices
Summary
Q&A
Quiz
Exercises
Day 7. Designing Web Applications
Understanding Web Applications
Working with Servlets
Tracking User Session by Servlets
Learning JavaServer Pages
Using a JSP Tag Library
Understanding the JavaBeans Java Class
Using MVC in Designing Web Applications
Packaging Web Applications
Best Practices
Summary
Q&A
Quiz
Exercises
Week 2: Entity Beans and Message-Driven Beans
Day 8. Understanding Entity Beans
What Are Entity Beans?
Characteristics of Entity Beans
Comparing Entity Beans and Session Beans
Types of Entity Persistence
Entity Bean Files
Entity Bean Methods
Life Cycle of an Entity Bean
Best Practices
Summary
Q&A
Quiz
Exercises
Day 9. Using JDBC to Connect to a Database
Why JDBC?
JDBC Architecture
Introducing the JDBC API
Connecting to a Data Source
Data Manipulation
Optimized Queries to the Database
Using Local Transactions
Using Batch Updates
Working with Metadata
Working with JDBC Through a Full Example
Best Practices
Summary
Q&A
Quiz
Exercises
Day 10. Developing Bean-Managed Persistence Entity Beans
Looking Under the Hood of a BMP Entity Bean
Designing the BMP Entity Bean
Implementing the BMP Entity Bean
Writing a Client
Packaging and Deploying the Enterprise Bean
Running the Example
Best Practices
Summary
Q&A
Quiz
Exercises
Day 11. Developing Container-Managed Persistence Entity Beans
Looking Under the Hood of a CMP Entity Bean
Designing a CMP Entity Bean
Implementing the CMP Entity Bean
Writing a Client
Packaging and Deploying the Enterprise Bean
Running the Example
Best Practices
Summary
Q&A
Quiz
Exercises
Day 12. Developing Container-Managed Relationships
Examining Container-Managed Relationships
Implementing Container-Manager Relationships
Designing Container-Managed Relationships
Defining the Home Interfaces
Defining the Remote Interfaces
Implementing the Enterprise Bean Classes
Declaring the Deployment Descriptors
Writing a Client
Packaging and Deploying the Enterprise Beans
Running the Example
Best Practices
Summary
Q&A
Quiz
Exercises
Day 13. Understanding JMS and Message-Driven Beans
Learning the JMS Fundamentals
Understanding JMS Architecture
Exploring Messaging Models
Understanding JMS Interfaces and Classes
Designing Reliable Messaging Clients
Anatomy of JMS Messages
Message-Driven Beans
Best Practices
Summary
Q&A
Quiz
Exercises
Day 14. Developing Message-Driven Beans
Looking Under the Hood of an MDB
Designing the Message-Driven Bean
Implementing the Enterprise Bean Class
Declaring the Deployment Descriptor
Writing a Client
Packaging and Deploying the Enterprise Bean
Running the Example
Examining the Life Cycle of a Message-Driven Bean
Best Practices
Summary
Q&A
Quiz
Exercise
Week 3: Advanced EJB Applications
Day 15. Understanding J2EE Architecture
J2EE Overview
The Evolution of J2EE Architecture
Understanding the J2EE Container Model
Exploring J2EE Protocols
Understanding the J2EE Common Services APIs
Exploring the J2EE Data Formats
Packaging J2EE Applications
Designing J2EE Applications
Best Practices
Summary
Q&A
Quiz
Exercises
Day 16. Understanding J2EE Transactions
Understanding Transaction Fundamentals
Types of Transactions
Java Transaction API
Exploring Transactions Across the J2EE Tiers
Example of Distributed Transactions
Best Practices
Summary
Q&A
Quiz
Exercise
Day 17. Building Container-Managed Transaction Beans
Understanding Container-Managed Transactions
Reviewing Transaction Attributes with CMT
Transaction Semantics for CMT
Example for Developing EJB with CMT
Best Practices
Summary
Q&A
Quiz
Questions
Exercises
Day 18. Building Bean-Managed Transaction Beans
Why Bean-Managed Transactions?
Using Local or Global Transactions in BMT
Which Types of EJBs Can Use BMT?
Developing an EJB with BMT
Best Practices
Summary
Q&A
Quiz
Exercises
Day 19. Understanding Security
Reviewing Security Fundamentals
Exploring J2EE Security Across All Tiers
JAAS Security
Security Responsibilities
Best Practices
Summary
Q&A
Quiz
Exercises
Day 20. Implementing JavaMail in EJB Applications
Understanding JavaMail
Learning the JavaMail API
Using the JavaMail API
Developing JavaMail Applications
Implementing the Client
Running the JavaMail Application
Best Practices
Summary
Q&A
Quiz
Exercises
Day 21. Developing a Complete Enterprise Application
Understanding the Application
Analyzing the Application
Architecting the System
Designing the Application
Packaging and Deploying the Application
Running the Sample Application
Best Practices
Summary
Q&A
Quiz
Exercises
Appendixes
Appendix A. WebLogic Application Server 7.0
Downloading and Installing WebLogic 7.0
Configuring WebLogic 7.0
Appendix B. JBoss Application Server 3.0
Downloading and Installing JBoss 3.0
Configuring JBoss 3.0
Running and Testing JBoss 3.0
Appendix C. Understanding XML
Exploring an XML Document
Summary of XML Document Markups
Characteristics of XML Documents
Appendix D. Introduction to UML Notation
Class Diagrams
State Diagrams
Sequence Diagrams
Appendix E. Glossary of Terms
Glossary
Index
Index SYMBOL
Index A
Index B
Index C
Index D
Index E
Index F
Index G
Index H
Index I
Index J
Index L
Index M
Index N
Index O
Index P
Index Q
Index R
Index S
Index T
Index U
Index V
Index W
Index X
Custom T Shirt
Top quality
karaoke
at wholesale prices
Gershwin Theatre Seating Chart
MCET