JSR-000058 Java TM 2 Platform, Enterprise Edition 1.3 Specification
JSR-000058 Java TM 2 Platform, Enterprise Edition 1.3 Specification
JSR-000058 Java TM 2 Platform, Enterprise Edition 1.3 Specification
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Client<br />
connection<br />
JSP/<br />
Servlet<br />
connection<br />
connection<br />
EJBean<br />
EJBean<br />
EJBean<br />
EJBean<br />
EJBean<br />
EJBean<br />
connections<br />
connection<br />
connection<br />
connection<br />
FIGURE 4-1 Servlets/JSP pages accessing enterprise Beans<br />
The Application Component Provider specifies, using a combination of<br />
programmatic and declarative transaction demarcation APIs, how the platform<br />
must manage transactions on behalf of the application.<br />
For example, the application may require that all the components in FIGURE 4-1<br />
access resources as part of a single transaction. The <strong>Platform</strong> Provider must<br />
provide the transaction capabilities to support such a scenario.<br />
This specification does not define how the components and the resources are<br />
partitioned or distributed within a single J2EE product. In order to achieve the<br />
transactional semantics required by the application, the J2EE Product Provider is<br />
free to execute the application components sharing a transaction in the same<br />
<strong>Java</strong> virtual machine, or distribute them across multiple virtual machines.<br />
The rest of this chapter describes the transactional requirements for a J2EE<br />
product in more detail.<br />
4-2 <strong>Java</strong> 2 <strong>Platform</strong> <strong>Enterprise</strong> <strong>Edition</strong>, v<strong>1.3</strong> Proposed Final Draft (Sun Microsystems, Inc.)<br />
1a<br />
:<br />
1b<br />
2a<br />
:<br />
2b<br />
2c<br />
:<br />
2d<br />
:<br />
One or more transactional resource managers