📄 ch12.html
字号:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Chapter 12. Container architecture - design notes</title><link rel="stylesheet" href="styles.css" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/styles.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vimages/callouts/"><link rel="home" href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html" title="JBoss 3.0 Documentation"><link rel="up" href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html" title="JBoss 3.0 Documentation"><link rel="previous" href="javascript:if(confirm('http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html \n\n文件并未依 Teleport Pro 取回,因为 服务器报告因为错误的发生导致无法读取。 \n\n你要从服务器上打开它吗?'))window.location='http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html'" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html" title="Administration"><link rel="next" href="ch12s04.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s04.html" title="Client Objects"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table border="0" cellpadding="0" cellspacing="0" height="65"><tr height="65"><td rowspan="2"><img src="jboss.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/jboss.gif" border="0"></td><td rowspan="2" background="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="100%" align="right" valign="top"><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="doc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/doc.gif" border="0"></a><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="toc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/toc.gif" border="0"></a><a href="javascript:if(confirm('http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html \n\n文件并未依 Teleport Pro 取回,因为 服务器报告因为错误的发生导致无法读取。 \n\n你要从服务器上打开它吗?'))window.location='http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html'" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html"><img src="prev.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/prev.gif" border="0"></a><a href="ch12s04.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s04.html"><img src="next.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/next.gif" border="0"></a></td></tr><tr></tr></table><div class="chapter"><div class="titlepage"><div><h2 class="title"><a name="design"></a>Chapter 12. Container architecture - design notes</h2></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="ch12.html#d0e7826" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12.html#d0e7826">Introduction</a></dt><dt><a href="ch12s04.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s04.html">Client Objects</a></dt><dt><a href="ch12s17.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s17.html">JMX - foundation of JBoss infrastructure</a></dt><dt><a href="ch12s21.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s21.html">ContainerInvoker - Container entry point</a></dt><dt><a href="ch12s31.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s31.html">Container</a></dt><dt><a href="ch12s63.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s63.html"> Transaction support </a></dt><dt><a href="ch12s68.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s68.html">Security</a></dt><dt><a href="ch12s72.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s72.html">Tracing the call through container</a></dt></dl></div><p>Author:<span class="author">Vladimir Blagojevic</span>
<tt><<a href="mailto:cs962267@ariel.cs.yorku.ca">cs962267@ariel.cs.yorku.ca</a>></tt>
<span class="author">Rickard Oberg</span>
<tt><<a href="mailto:rickard@jboss.org">rickard@jboss.org</a>></tt>
</p><div class="section"><a name="d0e7826"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="d0e7826"></a>Introduction</h2></div></div><div class="section"><a name="d0e7829"></a><div class="titlepage"><div><h3 class="title"><a name="d0e7829"></a>JBoss 1.0 (a.k.a EJBoss/NextGen)</h3></div></div><p>JBoss 1.0, a.k.a EJBoss was started in March 1999 and reached 1.0
status in February 2000. The long march towards the promised land of
1.0'ness was not taken lightly. JBoss 1.0 established itself as a
technological leader with many ease of use features pioneered here
before finding their way to the broader audience of commercial
container developers. Mostly thanks to Rickard Oberg, the design
of 1.0 introduced many standard setting features such
as Proxy based deployment and distributed containers.</p><p>Marc Fleury had been working for almost 6 months on a traditional,
compilation heavy approach to the container design, when Rickard came
along with the logical skeletons and the dynamic proxies as the basis
for a radically new design. Marc started coding feverishly and codenamed
the container "NextGen" truly believing it was a blueprint of things to
come, a "next generation" container.</p></div><div class="section"><a name="d0e7836"></a><div class="titlepage"><div><h3 class="title"><a name="d0e7836"></a>JBoss 2.0</h3></div></div><p>JBoss 2.0 that we are about to explore is truly a 3rd generation
container. It takes the patterns and ideas that were investigated in
1.0 and then does it right. Designed from the ground up to be modular,
JBoss introduces yet again many ground breaking features, such as
automated re-deploy, but most importantly a plug-in approach to
container implementation. Borrowing from the success that met with
Linux 2.0 and a it's modular approach to Open Source software
implementation, JBoss 2.0 is meant to be developed by distributed
parties each working on a cleanly separated part of the server.</p><p>JBoss 2.0 also standardizes on JMX, the Java Management eXtension
(TM) to offer standard interfaces to the management of its components
as well as the applications deployed on it. Ease of use is still the
number one priority here at JBoss, and JBoss 2.0 will set a new
standard.</p><p>We have to admit that it was hard to decide where to begin and how
to proceed on this journey through JBoss. Although it's architecture is
clean, modular, and a mecca of best programming practices we know of,
the inhereted complexity of a distributed system carries it's weight.</p><p>In order to understand how JBoss 2.0 works one could go many ways.
The approach we chose could be loosely described as "follow the call".
We'll not dwelve into container architecture directly, but in contrast
will build the foundation first on understanding client object structures,
how they pass the call to container over the network layer. Finally,
before we discuss container architecture in detail, we'll focus on
the container entry point.</p><p> With regard to container architecture, we'll explore all the
slices from the container entry point to database access structures,
focusing on various patterns, the renowned container plugin-in approach,
and how they relate to key points in EJB in general. </p><p>Now, let's not spoil all the fun parts.
Put your helmets on, we are going straight to the trenches!!!</p></div></div></div><table border="0" cellpadding="0" cellspacing="0" height="65"><tr height="65"><td rowspan="2"><img src="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="432" height="79"></td><td rowspan="2" background="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="100%" align="right" valign="top"><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="doc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/doc.gif" border="0"></a><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="toc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/toc.gif" border="0"></a><a href="javascript:if(confirm('http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html \n\n文件并未依 Teleport Pro 取回,因为 服务器报告因为错误的发生导致无法读取。 \n\n你要从服务器上打开它吗?'))window.location='http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html'" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch11s11.html"><img src="prev.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/prev.gif" border="0"></a><a href="ch12s04.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s04.html"><img src="next.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/next.gif" border="0"></a></td></tr><tr></tr></table></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -