Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
2Activity
×

Table Of Contents

acknowledgments
about the exam simulator
about the cover illustration
Introduction to J2EE
1.1THE J2EE ARCHITECTURE
1.1.1 Bird’s-eye view of the J2EE architecture
1.1.3 J2EE platform containers
1.2J2EE APPLICATION SYSTEM
1.2.1 Using J2EE technologies for application development
1.2.2 J2EE platform support for applications
1.3THE J2EE IMPLEMENTATION
1.3.1 J2EE implementation roles
1.3.2 The J2EE reference implementation
1.4THE J2EE AND EJB VERSIONS
1.5SUMMARY
Overview of Enterprise JavaBeans
2.1UNDERSTANDING THE EJB ARCHITECTURE
2.1.1 EJB architecture: The big picture
2.1.2 Defining container requirements
2.2UNDERSTANDING THE EJB COMPONENTS
2.2.1 Characteristics of enterprise beans
2.2.2 JavaBeans and Enterprise JavaBeans
2.3BENEFITS OF EJB TECHNOLOGY
2.3.1 Reduced time to market
2.3.3 Reliability and robustness
2.4THREE FLAVORS OF ENTERPRISE BEANS
2.5SPECIFYING EJB ROLES AND RESPONSIBILITIES
•Enterprise bean provider
2.5.1 Enterprise bean provider
2.5.2 Application assembler
2.5.4 EJB server provider and container provider
2.5.5 System administrator
2.6PROGRAMMING THE BEANS
2.6.1 Coding the bean class
2.6.2 Coding the bean interfaces
2.6.3 Writing the deployment descriptor
2.6.4 Programming restrictions
2.7THE EJB ENVIRONMENT
2.7.1 The bean’s home in the environment: JNDI
2.7.2 Deployment descriptor elements for the environment
2.10SUMMARY
Client view of a session bean
3.1SESSION BEANS IN EJB LAND
3.2SESSION BEAN REMOTE HOME INTERFACE
3.2.1 Required methods in the remote home interface
3.3SESSION BEAN REMOTE COMPONENT INTERFACE
3.3.1 Methods in the remote component interface
3.4LOCAL INTERFACES
3.4.1 Local interfaces and their methods
3.4.2 Writing local interfaces
3.5USING THE CLIENT VIEW
3.5.1 Locating the home interface
3.5.2 Accessing a session bean concurrently
3.6SUMMARY
Birth of a session bean
4.1INTRODUCING SESSION BEANS
4.2IMPLEMENTING A SESSION BEAN
4.2.1 Implementing the methods from the client view
4.2.3 Putting it all together in code
4.3CONSTRUCTING AND CREATING A SESSION BEAN
4.3.1 Creating a session bean instance
4.3.3 The ejbCreate methods
4.4USING THE SESSIONCONTEXT INTERFACE
4.5OPERATIONS PERMITTED DURING BEAN CREATION
4.5.1 Operations allowed during bean construction
4.5.2 Operations permitted during bean creation
4.6RESPONSIBILITIES OF THE CONTAINER
4.7SUMMARY
Lifecycle of a session bean
5.1THE STATEFUL SESSION BEAN LIFECYCLE: AN OVERVIEW
•The does not exist state
5.1.1 The does not exist state
5.1.2 The method ready state
5.2THE STATELESS SESSION BEAN LIFECYCLE: TO BE OR NOT TO BE
5.3INTO AND OUT OF A NAP: PASSIVATION AND ACTIVATION
5.3.1 Implementing ejbPassivate() and ejbActivate()
5.3.2 Permitted operations and access
5.4REMOVING A SESSION BEAN INSTANCE
5.5WHERE THE BEAN ROCKS: THE BUSINESS METHODS
5.5.1 Implementation of business methods
5.5.2 Operations from the business methods
5.6SUMMARY
6.1INTRODUCING ENTITY BEANS
6.1.1 The core functionality of an entity bean
6.1.2 Entity, entity bean, and entity bean instance
6.1.3 Characteristics of an entity bean
6.2ENTITY BEAN REMOTE HOME INTERFACE
6.2.1 Required methods in the remote home interface
6.2.2 Additional methods in the home interface
6.3ENTITY BEAN REMOTE COMPONENT INTERFACE
6.3.1 Methods in the remote component interface
6.3.2 Getting and using the remote component interface
6.4LOCAL INTERFACES
6.5USING THE CLIENT VIEW
6.5.1 Locating the home interface
6.5.3 Accessing an entity bean concurrently
6.6SUMMARY
Birth of an entity bean
7.1HERE COMES ENTITY BEAN PERSISTENCE
7.2.3 Putting it all together in code
7.3CONSTRUCTING AN ENTITY BEAN
7.3.1 Constructing a bean instance
7.4CREATING AN ENTITY BEAN
7.4.1 CMP entity bean creation process
7.4.2 Operations allowed during bean creation
7.5IDENTIFYING ENTITY BEANS
7.5.1 Constructing the primary key
7.5.2 Identifying entity beans with primary keys
7.6SUMMARY
Lifecycle of an entity bean
8.1ENTITY BEAN LIFECYCLE OVERVIEW
8.1.1 The does not exist state
8.2FINDING A BEAN AND DOING A SELECT
8.2.1 The ejbFind methods
8.2.2 The ejbSelect methods
8.3DOING BUSINESS FROM HOME
8.3.1 Writing home business methods
8.4IN AND OUT OF THE POOL
8.4.1 Activating a bean instance
8.4.2 Passivating a bean instance
8.5WHERE THE BEAN ROCKS: THE READY STATE
8.5.1 Implementation of business methods
8.5.3 Removing a bean instance
8.6SUMMARY
Entity bean relationships
9.1USING BEANS TO REPRESENT DATABASE TABLES
9.1.1 Beans representing related tables
9.1.2 Establishing a relationship between two entity beans
9.2CONTAINER-MANAGED RELATIONSHIPS
9.2.1 One-to-one relationships
9.2.3 Many-to-many relationships
9.3MANAGING PERSISTENCE AND RELATIONSHIPS
9.3.1 Container-managed persistent fields
9.3.2 Container-managed relationship fields
9.4PROGRAMMING FOR CMP AND CMR
9.5RELATIONSHIPS AND REMOVE PROTOCOLS
9.6SUMMARY
10.1THE ROLE OF EJB QL IN PERSISTENCE
10.1.1Pieces of the persistence puzzle
10.1.2From abstract schema to database table
10.2ABSTRACT SCHEMA AND QUERY SYNTAX
10.2.1EJB QL syntax and definitions
10.2.2Handling the query return types
10.3QUERY DOMAINS AND NAVIGATION
10.3.1Navigating the path
10.3.2Dealing with Collections in path navigation
10.4IDENTIFIERS AND INPUT PARAMETERS
10.5OPERATORS AND EXPRESSIONS
10.6SUMMARY
Message-driven beans
11.1USING MESSAGE-DRIVEN BEANS FOR ASYNCHRONOUS COMMUNICATION
11.1.1Message-driven bean: A JMS message consumer
11.1.2Client view of an MDB
11.2IMPLEMENTING A MESSAGE-DRIVEN BEAN
11.2.1Writing an MDB class
11.2.2Requirements for an MDB class
11.3THE LIFECYCLE OF A MESSAGE-DRIVEN BEAN
11.3.1States of the lifecycle
11.3.2Using the MessageDrivenContext interface
11.4THE MESSAGE DESTINATION TYPES
11.4.1The Queue destination
11.4.2The Topic destination
11.5SUMMARY
12.1UNDERSTANDING TRANSACTIONS
12.1.1Defining transactions
12.1.2Distributed transactions
12.2IMPLEMENTING EJB TRANSACTIONS
12.2.1Interfaces for transactions
12.3TRANSACTION ATTRIBUTES
12.3.1Defining transaction attributes
12.3.2Transaction attributes in action
12.3.3Using transaction attributes
12.3.4Transaction attributes used by beans
12.4SPECIFYING TRANSACTIONS IN A DEPLOYMENT DESCRIPTOR
12.4.1Specifying the transaction type for a bean
12.4.2Specifying the transaction attribute for a bean method
12.5TRANSACTION SYNCHRONIZATION
12.6SUMMARY
13.1EXCEPTIONS IN JAVA
13.1.1The exceptions tree in Java
13.1.2Checked exceptions and runtime exceptions
13.2EXCEPTIONS IN EJB
13.2.1Standard EJB application exceptions
13.2.2Standard EJB system exceptions
13.3BEAN PROVIDER’S RESPONSIBILITIES
13.3.1Dealing with application exceptions
13.3.2Dealing with system exceptions
13.4CONTAINER’S RESPONSIBILITIES
13.5SUMMARY
14.1IMPLEMENTING SECURITY IN EJB
14.1.1Understanding basic security concepts
14.2DEFINING THE SECURITY ROLES
14.3DEFINING METHOD PERMISSIONS
14.3.1Granting permission to all methods
14.3.4Distinguishing between interfaces
14.4CONTROLLING THE PROPAGATING SECURITY IDENTITY
14.5DISABLING METHODS
14.6PROGRAMMING SECURITY
14.6.1Limitations of declarative security
14.6.2Implementing programmatic security
14.6.3References to security roles
14.7RESPONSIBILITIES IN IMPLEMENTING EJB SECURITY
14.7.1Implementing EJB security
14.7.2Deploying EJB security
14.8SUMMARY
Installing and running RI J2SDKEE 1.3
A.1INSTALLING THE REQUIRED JAVA SOFTWARE
A.2SETTING UP THE DEVELOPMENT ENVIRONMENT VARIABLES
A.3DEVELOPING, DEPLOYING, AND EXECUTING AN EJB APPLICATION
A.4EXECUTING YOUR EJB APPLICATION
An introduction to XML
B.2DOCUMENT TYPE DEFINITIONS
B.3FURTHER EXPLORATION
A sample deployment descriptor file
0 of .
Results for:
No results containing your search query
P. 1
Manning SCBCD Exam Study Kit Java Business Component Developer Certification for EJB

Manning SCBCD Exam Study Kit Java Business Component Developer Certification for EJB

Ratings: (0)|Views: 3,498|Likes:
Published by Ângelo S Mendonça

More info:

Published by: Ângelo S Mendonça on Jul 01, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

12/17/2012

pdf

text

original

You're Reading a Free Preview
Pages 10 to 74 are not shown in this preview.
You're Reading a Free Preview
Pages 84 to 183 are not shown in this preview.
You're Reading a Free Preview
Pages 193 to 375 are not shown in this preview.
You're Reading a Free Preview
Pages 385 to 417 are not shown in this preview.
You're Reading a Free Preview
Pages 427 to 485 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->