Added: webservices/commons/site/tcpmon/style/maven-theme.css URL: http://svn.apache.org/viewcvs/webservices/commons/site/tcpmon/style/maven-theme.css?rev=405011&view=auto ============================================================================== --- webservices/commons/site/tcpmon/style/maven-theme.css (added) +++ webservices/commons/site/tcpmon/style/maven-theme.css Mon May 8 03:58:05 2006 @@ -0,0 +1,82 @@ +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 15px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +}
Added: webservices/commons/site/tcpmon/style/print.css URL: http://svn.apache.org/viewcvs/webservices/commons/site/tcpmon/style/print.css?rev=405011&view=auto ============================================================================== --- webservices/commons/site/tcpmon/style/print.css (added) +++ webservices/commons/site/tcpmon/style/print.css Mon May 8 03:58:05 2006 @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} Added: webservices/commons/site/tcpmon/tcpmontutorial.html URL: http://svn.apache.org/viewcvs/webservices/commons/site/tcpmon/tcpmontutorial.html?rev=405011&view=auto ============================================================================== --- webservices/commons/site/tcpmon/tcpmontutorial.html (added) +++ webservices/commons/site/tcpmon/tcpmontutorial.html Mon May 8 03:58:05 2006 @@ -0,0 +1,50 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Web Services Commons : TCPMon - TCPMon Tutorial</title><style type="text/css" media="all"> + @import url("./style/maven-base.css"); + + @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/commons/tcpmon" id="projectLogo"><span>Apache TCPMon</span></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft"> + Last published: 08 May 2006 + | Doc for 1.0</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuTCPMon"><h5>TCPMon</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href=""></a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/commons/trunk/modules/tcpmon/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="tcpmontutorial.html">TCPMon Tutorial</a></li><li class="none"><a href="apidocs/index.html">Javadocs</a></li></ul></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="mail-lists.html">Mailing Lists</a></li><li class="none"><a href="team-list.html">Project Team</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><i mg alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="TCPMon_Tutorial"></a><h2>TCPMon Tutorial</h2><div class="subsection"><a name="Content"></a><h3>Content</h3><ul> + <li><a href="#intro">Introduction</a></li> + <li><a href="#dependencies">Structure and Dependencies</a></li> + <li><a href="#patterns">Usage Patterns</a></li> + <ul> + <li><a href="#intermediate">As an Explicit Intermediate</a></li> + <li><a href="#sender">As a Request Sender for Web Services</a></li> + <li><a href="#proxy">As a Proxy</a></li> + </ul> + <li><a href="#advanced">Advanced Settings</a></li> + <ul> + <li><a href="#slow">Slow Connection Simulation</a></li> + <li><a href="#http_proxy">HTTP Proxy support</a></li> + </ul> + <li><a href="#conclusion">Conclusion</a></li> +</ul><p><a name="intro"></a></p></div><div class="subsection"><a name="Introduction"></a><h3>Introduction</h3><p>TCPMon is a utility that allows the user to monitor the messages passed +along in TCP based conversation. It is based on a swing UI and works on +almost all platforms that Java supports. The aim of this simple tutorial is +to explain how TCPMon works and also to explain some of its features.</p><p><a name="dependencies"></a></p></div><div class="subsection"><a name="Structure_and_Dependencies"></a><h3>Structure and Dependencies</h3><p>TCPMon has absolutely no dependencies on third party libraries. But some +of the UI features rely on JDK 1.4 so TCPMon needs a JRE that is 1.4 or +higher.</p><p><a name="patterns"></a></p></div><div class="subsection"><a name="Usage_Patterns"></a><h3>Usage Patterns</h3><p><a name="intermediate"></a></p></div><div class="subsection"><a name="As_an_Explicit_Intermediate"></a><h3>As an Explicit Intermediate</h3><p>The most common usage pattern for the TCPMon is as an +<strong>intermediary</strong>. It is called <strong>explicit</strong> since +the client has to point to the intermediary rather than the original endpoint +in order to monitor the messages. The following figure explains this +concept.</p><p><img alt="concept" src="images/concept.jpg"></img></p><p>In order to start the TCPMon in this configuration one has to provide the +host name and the port for the listener in the admin screen. See image +below.</p><p><img alt="first screen" src="images/screen1.jpg"></img></p><p>Pressing the 'add' button opens up a new tab that allows the messages to +be seen as in the following screen</p><p><img alt="message screen" src="images/screen2.jpg"></img></p><p>At this point the requester should point to the listener port of the +TCPMon instead of the original endpoint. Let us understand this with an +example:</p><p>Say all messages passed between www.apache.org needs to be monitored.</p><p><strong>Step 1</strong> - Add a listener with host as www.apache.org and +port as 80. Set the listener to port 8080 which may be any unused port in the +local machine</p><p><img alt="the settings" src="images/screen2-closeup2.jpg"></img></p><p><strong>Step 2</strong> - Point the browser to localhost:8080 instead of +www.apache.org.</p><p><img alt="browser address bar" src="images/screen2-browser.jpg"></img></p><p>Once the messages start flowing they can be seen in the relevant tab as +seen below.</p><p><img alt="Filles screen" src="images/screen3.jpg"></img></p><p>The bottom controls allow the messages to be XML formatted (useful in +debugging Web services), save and resend the messages, and also to switch the +layout of the message windows.</p><p><img alt="button set" src="images/screen2-closeup1.jpg"></img></p><p><a name="sender"></a></p></div><div class="subsection"><a name="As_a_Request_Sender_for_Web_Services"></a><h3>As a Request Sender for Web Services</h3><p>TCPMon can also be used as a request sender for Web services. The request +SOAP message can be pasted on the send screen and then sent directly to the +server.</p><p><img alt="request sender" src="images/screen4.jpg"></img></p><p><a name="proxy"></a></p></div><div class="subsection"><a name="As_a_Proxy"></a><h3>As a Proxy</h3><p>TCPMon can act as a proxy. To start the TCPMon at proxy mode, just select +the proxy option from the radio buttons. When acting as a proxy, TCPMon only +needs the listener port to be configured.</p><p><img alt="proxy" src="images/screen5.jpg"></img></p><p><a name="advanced"></a></p></div><div class="subsection"><a name="Advanced_Settings"></a><h3>Advanced Settings</h3><p><a name="slow"></a></p></div><div class="subsection"><a name="Slow_Connection_Simulation"></a><h3>Slow Connection Simulation</h3><p>TCPMon can simulate a slow connection, in which case the delay and the +bytes to be dropped can be configured. This is specially useful in testing +Web services.</p><p><img alt="slow-connection" src="images/screen6.jpg"></img></p><p><a name="http_proxy"></a></p></div><div class="subsection"><a name="HTTP_Proxy_support"></a><h3>HTTP Proxy support</h3><p>If HTTP proxy support is required then that can also be set on the admin +screen.</p><p><a name="conclusion"></a></p></div><div class="subsection"><a name="Conclusion"></a><h3>Conclusion</h3><p>TCPMon is a simple and easy to use tool that has many benefits when +developing message driven applications. It is particularly useful in +developing Web services</p></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html> \ No newline at end of file Added: webservices/commons/site/tcpmon/team-list.html URL: http://svn.apache.org/viewcvs/webservices/commons/site/tcpmon/team-list.html?rev=405011&view=auto ============================================================================== --- webservices/commons/site/tcpmon/team-list.html (added) +++ webservices/commons/site/tcpmon/team-list.html Mon May 8 03:58:05 2006 @@ -0,0 +1,83 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Web Services Commons : TCPMon - Project Team</title><style type="text/css" media="all"> + @import url("./style/maven-base.css"); + + @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><script type="text/javascript"> + function offsetDate(id, offset) { + + var now = new Date() ; + var nowTime = now.getTime() ; + var localOffset = now.getTimezoneOffset() ; + var developerTime = nowTime + (offset * 60 * 60 * 1000) + (localOffset * 60 * 1000) ; + var developerDate = new Date(developerTime) ; + + document.getElementById(id).innerHTML = developerDate; + } + + function init() { + } + </script></head><body class="composite" onload="init();"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/commons/tcpmon" id="projectLogo"><span>Apache TCPMon</span></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft"> + Last published: 08 May 2006 + | Doc for 1.0</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuTCPMon"><h5>TCPMon</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href=""></a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/commons/trunk/modules/tcpmon/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="tcpmontutorial.html">TCPMon Tutorial</a></li><li class="none"><a href="apidocs/index.html">Javadocs</a></li></ul></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="mail-lists.html">Mailing Lists</a></li><li class="none"><strong><a href="team-list.html">Project Team</a></strong></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="The_Team"></a><h2>The Team</h2><p> + A successful project requires many people to play many roles. + Some members write code or documentation, while others are + valuable as testers, submitting patches and suggestions. + </p><p> + The team is comprised of <a href="#Members">Members</a> + and <a href="#Contributors">Contributors</a>. Members + have direct access to the source of a project and actively + evolve the code-base. Contributors improve the project + through submission of patches and suggestions to the Members. + The number of Contributors to the project is unbounded. + Get involved today. All contributions to the project are + greatly appreciated. + </p><div class="subsection"><a name="Members"></a><h3>Members</h3><p> + The following is a list of developers with commit privileges that have + directly contributed to the project in one way or another. + </p><table class="bodyTable"><thead> + <tr class="a"><th>Name</th><th>Id</th><th>Email</th><th>Organization</th><th>Roles</th><th>TZ Offset</th><th>Time</th></tr> + </thead><tbody> + <tr class="b"><td>Davanum Srinivas</td><td><a name="dims"></a>dims</td><td><a href="mailto:dims AT wso2.com">dims AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-dims">Unknown</span></td></tr> + <tr class="a"><td>Sanjiva Weerawarana</td><td><a name="sanjiva"></a>sanjiva</td><td><a href="mailto:sanjiva AT wso2.com">sanjiva AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-sanjiva">Unknown</span></td></tr> + <tr class="b"><td>Glen Daniels</td><td><a name="gdaniels"></a>gdaniels</td><td><a href="mailto:gdaniels AT apache.org">gdaniels AT apache.org</a></td><td>Sonic Software</td><td> + </td><td></td><td><span id="developer-gdaniels">Unknown</span></td></tr> + <tr class="a"><td>Aleksander Slominski</td><td><a name="alek"></a>alek</td><td><a href="mailto:aslom AT cs.indiana.edu">aslom AT cs.indiana.edu</a></td><td>Indiana University Extreme! Computing Lab</td><td> + </td><td></td><td><span id="developer-alek">Unknown</span></td></tr> + <tr class="b"><td><a href="http://www.apache.org/~hemapani" class="externalLink" title="External Link">Srinath Perera</a></td><td><a name="hemapani"></a>hemapani</td><td><a href="mailto:hemapani AT apache.org">hemapani AT apache.org</a></td><td>Lanka Software Foundation</td><td> + </td><td></td><td><span id="developer-hemapani">Unknown</span></td></tr> + <tr class="a"><td><a href="http://www.apache.org/~chinthaka" class="externalLink" title="External Link">Eran Chinthaka</a></td><td><a name="chinthaka"></a>chinthaka</td><td><a href="mailto:chinthaka AT wso2.com">chinthaka AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-chinthaka">Unknown</span></td></tr> + <tr class="b"><td>Dasarath Weerathunga</td><td><a name="dasarath"></a>dasarath</td><td><a href="mailto:dasarath AT opensource.lk">dasarath AT opensource.lk</a></td><td>Lanka Software Foundation</td><td> + </td><td></td><td><span id="developer-dasarath">Unknown</span></td></tr> + <tr class="a"><td><a href="http://www.apache.org/~jaliya" class="externalLink" title="External Link">Jaliya Ekanayake</a></td><td><a name="jaliya"></a>jaliya</td><td><a href="mailto:jaliya AT opensource.lk">jaliya AT opensource.lk</a></td><td>Virtusa / Lanka Software Foundation</td><td> + </td><td></td><td><span id="developer-jaliya">Unknown</span></td></tr> + <tr class="b"><td><a href="www.apache.org/~chathura">Chathura Herath</a></td><td><a name="chathura"></a>chathura</td><td><a href="mailto:chathura AT opensource.lk">chathura AT opensource.lk</a></td><td>LSF/MIT</td><td> + </td><td></td><td><span id="developer-chathura">Unknown</span></td></tr> + <tr class="a"><td><a href="http://www.apache.org/~deepal" class="externalLink" title="External Link">Deepal Jayasinghe</a></td><td><a name="deepal"></a>deepal</td><td><a href="mailto:deepal AT wso2.com">deepal AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-deepal">Unknown</span></td></tr> + <tr class="b"><td><a href="http://www.apache.org/~ajith" class="externalLink" title="External Link">Ajith Ranabahu</a></td><td><a name="ajith"></a>ajith</td><td><a href="mailto:ajith AT wso2.com">ajith AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-ajith">Unknown</span></td></tr> + <tr class="a"><td>Venkat Reddy</td><td><a name="venkat"></a>venkat</td><td><a href="mailto:vreddyp AT gmail.com">vreddyp AT gmail.com</a></td><td>Computer Associates</td><td> + </td><td></td><td><span id="developer-venkat">Unknown</span></td></tr> + <tr class="b"><td>Ashutosh Shahi</td><td><a name="ashu"></a>ashu</td><td><a href="mailto:Ashutosh.Shahi AT ca.com">Ashutosh.Shahi AT ca.com</a></td><td>Computer Associates</td><td> + </td><td></td><td><span id="developer-ashu">Unknown</span></td></tr> + <tr class="a"><td>Jayachandra Sekhara Rao Sunkara</td><td><a name="jaya"></a>jaya</td><td><a href="mailto:jayachandra AT gmail.com">jayachandra AT gmail.com</a></td><td>Computer Associates</td><td> + </td><td></td><td><span id="developer-jaya">Unknown</span></td></tr> + <tr class="b"><td>Thilina Gunarathne</td><td><a name="thilina"></a>thilina</td><td><a href="mailto:thilina AT opensource.lk">thilina AT opensource.lk</a></td><td>Lanka Software Foundation</td><td> + </td><td></td><td><span id="developer-thilina">Unknown</span></td></tr> + <tr class="a"><td>Ruchith Fernando</td><td><a name="ruchith"></a>ruchith</td><td><a href="mailto:ruchith AT wso2.com">ruchith AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-ruchith">Unknown</span></td></tr> + <tr class="b"><td>Saminda Abeyruwan</td><td><a name="saminda"></a>saminda</td><td><a href="mailto:saminda AT wso2.com">saminda AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-saminda">Unknown</span></td></tr> + <tr class="a"><td>Chamil Thanthrimudalige</td><td><a name="chamil"></a>chamil</td><td><a href="mailto:chamil AT wso2.com">chamil AT wso2.com</a></td><td>WSO2</td><td> + </td><td></td><td><span id="developer-chamil">Unknown</span></td></tr> + </tbody></table></div><div class="subsection"><a name="Contributors"></a><h3>Contributors</h3><p> + The following additional people have contributed to this project + through the way of suggestions, patches or documentation. + </p><table class="bodyTable"><thead> + <tr class="b"><th>Name</th><th>Email</th><th>Organization</th><th>Roles</th></tr> + </thead><tbody> + <tr class="a"><td>Chatra Nakkawita</td><td><a href="mailto:chatra AT WSO2.com">chatra AT WSO2.com</a></td><td>WSO2</td><td> + </td></tr> + </tbody></table></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html> \ No newline at end of file
