P R E F A C E  
E
NTITY 
B
EANS
....................................................................................................................................................................................................................... 44
Bean Managed Persistence (BMP) .................................................................................................................................................................. 44
Container Managed Persistence (CMP) ...................................................................................................................................................... 46
S
ESSION 
B
EANS
..................................................................................................................................................................................................................... 47
Stateless Session Beans ................................................................................................................................................................................... 47
Stateful Session Beans...................................................................................................................................................................................... 49
M
ESSAGE 
D
RIVEN 
B
EANS
...................................................................................................................................................................................................... 49
W
EB 
A
PPLICATIONS
............................................................................................................................................................................................................... 50
E
NTERPRISE 
A
PPLICATIONS
................................................................................................................................................................................................. 50
C
ONCLUSION
........................................................................................................................................................................................................................... 51
7.
TRANSACTIONS .......................................................................................................................................................................................................... 52
C
ONTAINER 
M
ANAGED 
T
RANSACTION 
(CMT)....................................................................................................................................................................... 53
How to set the Transaction Attributes ................................................................................................................................................. 57
B
EAN 
M
ANAGED 
T
RANSACTIONS 
(BMT) .............................................................................................................................................................................. 58
C
LIENT 
T
RANSACTIONS
......................................................................................................................................................................................................... 59
T
RANSACTION 
I
SOLATION AND 
L
OCKING
............................................................................................................................................................................. 59
D
EADLOCKS
............................................................................................................................................................................................................................. 59
E
XAMPLE
................................................................................................................................................................................................................................. 60
8.
SECURITY.................................................................................................................................................................................................................... 63
S
ECURITY 
S
ERVICES 
C
ONFIGURATION
................................................................................................................................................................................. 63
org.jboss.security.plugins.SecurityConfig........................................................................................................................................ 63
org.jboss.security.auth.login.XMLLoginConfig ................................................................................................................................ 63
JAAS LoginModules Bundled With JBoss.................................................................................................................................................... 65
org.jboss.security.auth.spi.UsersRolesLoginModule ................................................................................................................ 65
org.jboss.security.auth.spi.LdapLoginModule............................................................................................................................... 67
org.jboss.security.auth.spi.DatabaseServerLoginModule....................................................................................................... 70
org.jboss.security.ClientLoginModule................................................................................................................................................ 72
org.jboss.security.plugins.JaasSecurityManagerService........................................................................................................... 73
Default Security Service Configuration ............................................................................................................................................... 74
S
ECURING 
Y
OUR 
A
PPLICATION
............................................................................................................................................................................................. 75
9.
CMP 2.0 ...................................................................................................................................................................................................................... 82
E
NTITY 
B
ASICS
..................................................................................................................................................................................................................... 82
Entity Declaration ............................................................................................................................................................................................... 83
Entity Mapping ......................................................................................................................................................................................................... 84
C
ONTAINER 
M
ANAGED 
R
ELATIONSHIPS
................................................................................................................................................................................. 88
CMR Field Abstract Accessors ....................................................................................................................................................................... 88
Relationship Declaration ................................................................................................................................................................................. 89
Relationship Mapping........................................................................................................................................................................................... 89
Relationship Role Mapping .......................................................................................................................................................................... 91
Foreign Key Mapping ......................................................................................................................................................................................... 92
Relation table Mapping.................................................................................................................................................................................. 93
Q
UERIES
................................................................................................................................................................................................................................. 94
Finder and ejbSelect Declaration.............................................................................................................................................................. 95
EJB QL Declaration ............................................................................................................................................................................................... 95
Overriding the EJB QL to SQL Mapping.................................................................................................................................................... 97
10.
CONNECTING TO DATABASES AND OTHER RESOURCE MANAGERS ........................................................................................................... 98
D
EPLOYMENT OF YOUR ADAPTER CONFIGURATION
.............................................................................................................................................................. 100
11.
USING THE JMS API............................................................................................................................................................................................ 101
U
SING 
JMS 
WITH 
JB
OSS
................................................................................................................................................................................................... 101
Looking up the ConnectionFactory............................................................................................................................................................ 101
Looking up Queues and Topics ..................................................................................................................................................................... 102
C
ONFIGURING 
JB
OSS 
JMS O
BJECTS
................................................................................................................................................................................ 102
U
SING 
M
ESSAGE 
D
RIVEN 
B
EANS 
(MDB) 
WITH 
J
BOSS
................................................................................................................................................... 104
S
UMMARY
............................................................................................................................................................................................................................... 105
12.
MBEAN CONFIGURATION AND DEPENDENCY MANAGEMENT ........................................................................................................................ 106
Page 3 of 139 
3






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved