⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lib0028.html

📁 java外企软件工程师就业班 J2EE方向 《J2EE架构师手册》 电子书
💻 HTML
字号:
<html>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<head>
<title>Architect's Exercise</title>
<link rel="STYLESHEET" type="text/css" href="images/xpolecat.css">
<link rel="STYLESHEET" type="text/css" href="images/ie.content.css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div STYLE="MARGIN-LEFT: 0.15in;"><a href="toc.html"><img src="images/teamlib.gif" width="62" height="15" border="0" align="absmiddle"  alt="Team LiB"></a></div></td>
<td align="right"><div STYLE="MARGIN-LEFT: 0.15in;">
<a href="LiB0027.html"><img src="images/previous.gif" width="62" height="15" border="0" align="absmiddle" alt="Previous Section"></a>
<a href="LiB0029.html"><img src="images/next.gif" width="41" height="15" border="0" align="absmiddle" alt="Next Section"></a>
</div></td></tr></table>
<br>
<div class="chapter">
<a name="ch04"></a>
<div class="section">
<h2 class="first-section-title"><a name="123"></a><a name="ch04lev1sec5"></a>Architect's Exercise</h2><a name="124"></a><a name="IDX-45"></a>
<p class="para">I assisted in the development of a customized reporting system that accepted information via JMS from external applications. In this case, the two types of information being received were batch-processing requests and updates to meta-data needed to produce reports.</p>
<p class="para">In all cases, the format of the messages received was XML. We had different document formats for the batch-processing requests and the report template meta-data updates. Immediately after receiving a message, we would go through the following steps:</p>
<ol class="orderedlist">
<li class="first-listitem">
<p class="first-para">Parse the XML document.</p>
</li>
<li class="listitem">
<p class="first-para">If there was a parse error, log the error and the contents of the message as well as notify an application administrator by e-mail.</p>
</li>
<li class="listitem">
<p class="first-para">If the document was well formed, interrogate the document type.</p>
</li>
<li class="listitem">
<p class="first-para">If the document was one of the two supported types, record it's receipt, including the XML text, the document type, and the date and time of receipt, in a file on disk (using a database or any other storage media).</p>
</li>
<li class="listitem">
<p class="first-para">Process the request normally, mailing any errors, along with the XML text, to an application administrator mail group. The application sending us the XML messages had representatives in the mail group.</p>
</li>
<li class="listitem">
<p class="first-para">An application administrator could resubmit both types of requests via a secured Web page if necessary.</p>
</li>
</ol>
<a name="125"></a><a name="IDX-46"></a>
</div>
</div><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div STYLE="MARGIN-LEFT: 0.15in;"><a href="toc.html"><img src="images/teamlib.gif" width="62" height="15" border="0" align="absmiddle"  alt="Team LiB"></a></div></td>
<td align="right"><div STYLE="MARGIN-LEFT: 0.15in;">
<a href="LiB0027.html"><img src="images/previous.gif" width="62" height="15" border="0" align="absmiddle" alt="Previous Section"></a>
<a href="LiB0029.html"><img src="images/next.gif" width="41" height="15" border="0" align="absmiddle" alt="Next Section"></a>
</div></td></tr></table>
</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -