![](https://csdnimg.cn/release/download_crawler_static/3800354/bg14.jpg)
Enterprise JavaBeans 3.1, Proposed Final Draft
11/5/09 20
Sun Microsystems, Inc.
16.3 Responsibilities by EJB Role .......................................................................... 432
16.3.1 Bean Provider’s Responsibilities ...................................................... 433
16.3.2 Application Assembler’s Responsibility ........................................... 433
16.3.3 Deployer’s Responsibility ................................................................. 433
16.3.4 Container Provider Responsibility .................................................... 433
16.4 Simple Environment Entries............................................................................ 434
16.4.1 Bean Provider’s Responsibilities ...................................................... 434
16.4.1.1 Injection of Simple Environment Entries Using Annotations434
16.4.1.2 Programming Interfaces for Accessing Simple Environment Entries
435
16.4.1.3 Declaration of Simple Environment Entries in the Deployment
Descriptor436
16.4.2 Application Assembler’s Responsibility ........................................... 440
16.4.3 Deployer’s Responsibility ................................................................. 440
16.4.4 Container Provider Responsibility .................................................... 440
16.5 EJB References................................................................................................ 441
16.5.1 Bean Provider’s Responsibilities ...................................................... 441
16.5.1.1 Injection of EJB References ............................................... 441
16.5.1.2 EJB Reference Programming Interfaces............................. 442
16.5.1.3 Declaration of EJB References in Deployment Descriptor 443
16.5.2 Application Assembler’s Responsibilities ........................................ 445
16.5.2.1 Overriding Rules................................................................. 448
16.5.3 Deployer’s Responsibility ................................................................. 448
16.5.4 Container Provider’s Responsibility ................................................. 449
16.6 Web Service References .................................................................................. 450
16.7 Resource Manager Connection Factory References........................................ 450
16.7.1 Bean Provider’s Responsibilities ...................................................... 450
16.7.1.1 Injection of Resource Manager Connection Factory References451
16.7.1.2 Programming Interfaces for Resource Manager Connection Factory
References451
16.7.1.3 Declaration of Resource Manager Connection Factory References
in Deployment Descriptor453
16.7.1.4 Standard Resource Manager Connection Factory Types .... 455
16.7.2 Deployer’s Responsibility ................................................................. 455
16.7.3 Container Provider Responsibility .................................................... 456
16.7.4 System Administrator’s Responsibility............................................. 457
16.8 Resource Environment References.................................................................. 457
16.8.1 Bean Provider’s Responsibilities ...................................................... 457
16.8.1.1 Injection of Resource Environment References ................. 458
16.8.1.2 Resource Environment Reference Programming Interfaces458
16.8.1.3 Declaration of Resource Environment References in Deployment
Descriptor458
16.8.2 Deployer’s Responsibility ................................................................. 459
16.8.3 Container Provider’s Responsibility ................................................. 459
16.9 Message Destination References ..................................................................... 459
16.9.1 Bean Provider’s Responsibilities ...................................................... 459
16.9.1.1 Injection of Message Destination References..................... 459
16.9.1.2 Message Destination Reference Programming Interfaces .. 460
16.9.1.3 Declaration of Message Destination References in Deployment