📄 ch13.html
字号:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Chapter 13. HOWTO</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="ch12s72.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s72.html" title="Tracing the call through container"><link rel="next" href="ch13s16.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s16.html" title="How to Integrate a Web Container into JBoss"></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="ch12s72.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch12s72.html"><img src="prev.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/prev.gif" border="0"></a><a href="ch13s16.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s16.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="howto"></a>Chapter 13. HOWTO</h2></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="ch13.html#howto-jetty" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jetty">Using JBoss-Jetty (under construction)</a></dt><dt><a href="ch13s16.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s16.html">How to Integrate a Web Container into JBoss</a></dt><dt><a href="ch13s21.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s21.html">How to use Applets to access EJBs in JBoss</a></dt><dt><a href="ch13s26.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s26.html">How to Integrate Custom Services via MBeans</a></dt><dt><a href="ch13s39.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s39.html">JMX Connector Description and HowTo</a></dt><dt><a href="ch13s55.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s55.html">How To use the Timer MBean</a></dt><dt><a href="ch13s58.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s58.html">How To use the Timer MBean and Scheduler Service on JBoss 3</a></dt><dt><a href="ch13s72.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s72.html">Deployment on JBoss</a></dt><dt><a href="ch13s78.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s78.html">JAAS Based Security in JBoss</a></dt><dt><a href="ch13s98.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s98.html">Using JavaMail in JBoss</a></dt><dt><a href="ch13s101.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s101.html">EJX/AWT Development HowTo</a></dt><dt><a href="ch13s126.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s126.html">External JNDI Configuration and JNDI Viewing</a></dt><dt><a href="ch13s131.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s131.html">Customizing the JRMPContainerInvoker Socket Factories</a></dt><dt><a href="ch13s135.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s135.html">Configuring and Using JAXP 1.1 In JBoss</a></dt><dt><a href="ch13s144.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13s144.html">Clustering in JBoss 3.0 alpha</a></dt></dl></div><div class="section"><a name="howto-jetty"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="howto-jetty"></a>Using JBoss-Jetty (under construction)</h2></div></div><p>
<span class="author">Kunle Odutola</span>
<tt><<a href="mailto:kunle_odutola@hotmail.com">kunle_odutola@hotmail.com</a>></tt>
29 March 2001
</p><p>
<span class="author">Anthony Oguntimehin</span>
</p><div class="section"><a name="howto-jbossjetty-intro"></a><div class="titlepage"><div><h3 class="title"><a name="howto-jbossjetty-intro"></a>Introduction</h3></div></div><p>
This document provides a concise and easy-to-read set of instructions that
will get you up to speed quickly on the basics of installing and using the
JBoss J2EE application server suite and the Jetty HTTP Servlet server to
develop, deploy and run Enterprise Java applications.
</p><p>
<a href="javascript:if(confirm('http://www.jboss.org/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.jboss.org/'" tppabs="http://www.jboss.org/" target="_top">JBoss</a> is the brand name of the leading, Open
Source, standards-compliant J2EE application server suite. The suite includes
the JBossServer EJB v1.1 container and server (with partial support for the EJB v2.0 standard),
the JBossMQ JMS 1.0 implemetation, the JBossNS JNDI implementation, the JBossCMP advanced O/R
mapper and JDBC data object storage implementation and, the JAAS-based JBossSX security
framework. All the JBoss applications are 100% Pure Java applications and
are collectively the most innovative J2EE application server suite available
with features including a much admired modular construction and an advanced
JMX-based plug-in architecture.
</p><p>
<a href="javascript:if(confirm('http://jetty.mortbay.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://jetty.mortbay.com/'" tppabs="http://jetty.mortbay.com/" target="_top">Jetty</a> is an Open Source, 100% Java
HTTP Servlet Server. It is designed to be light weight, high performance, embeddable,
extensible and flexible, thus making it an ideal platform for serving dynamic HTTP
requests from any Java application. Jetty is also standards compliant and implements
the HTTP 1.1, Servlet API 2.2 and Java Server Pages 1.1 standards. It also supports
SSL as an additional security option for your application.
</p><p>
The JBoss organisation and key figures from Jetty's developer community have collaborated to
produce an integrated version of JBoss and Jetty. In this version - called
<span class="emphasis"><i>JBoss-Jetty</i></span> - both JBossServer and Jetty run within the same Java VM instance.
The benefit is greatly improved performance as all interactions between JBossServer and Jetty are
now within a single VM. Consequently JBoss-Jetty is able to offer the highest performance, Open
Source, 100% Pure Java J2EE platform for developing and deploying innovative and critical
business systems and applications. Whatever your requirements, JBoss-Jetty together offers you
superior return on investment (ROI) and substantially reduced time to market (RTTM) compared to
other J2EE development and deployment environments.
</p><div class="section"><a name="howto-jbossjetty-intro-menu"></a><div class="titlepage"><div><h4 class="title"><a name="howto-jbossjetty-intro-menu"></a>C'mon, show me already</h4></div></div><p>
Not so fast comrades. You need to obtain a copy of the integrated JBoss-Jetty distribution from
the <a href="javascript:if(confirm('http://www.jboss.org/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.jboss.org/'" tppabs="http://www.jboss.org/" target="_top">JBoss website</a>. General information about all JBoss
products as well as instructions on how to get a copy of JBoss-Jetty for yourself can be found in
the <a href="javascript:if(confirm('http://www.jboss.org/faq.jsp \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.jboss.org/faq.jsp'" tppabs="http://www.jboss.org/faq.jsp" target="_top">JBoss FAQ</a> or on the
<a href="javascript:if(confirm('http://www.jboss.org/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.jboss.org/'" tppabs="http://www.jboss.org/" target="_top">JBoss website</a>. The rest of this document covers the following tasks:
</p><div class="orderedlist"><ol type="1"><li><p><a name="d0e8830"></a>
<a href="ch13.html#howto-jbossjetty-requirements" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-requirements" title="Check JBoss-Jetty system requirements">Check JBoss-Jetty system requirements</a>
</p></li><li><p><a name="d0e8836"></a>
<a href="ch13.html#howto-jbossjetty-install" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-install" title="Install JBoss-Jetty on your system ">Install JBoss-Jetty on your system</a>
</p></li><li><p><a name="d0e8842"></a>
<a href="ch13.html#howto-jbossjetty-run" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-run" title="Start the JBoss-Jetty server suite">Start the JBoss-Jetty server suite</a>
</p></li><li><p><a name="d0e8848"></a>
<a href="ch13.html#howto-jbossjetty-deploy" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-deploy" title="Deploy an application with JBoss-Jetty">Deploy an application with JBoss-Jetty</a>
</p></li><li><p><a name="d0e8854"></a>
<a href="ch13.html#howto-jbossjetty-configure" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-configure" title="Configure your JBoss-Jetty installation">Configure JBoss-Jetty (Optional)</a>
</p></li><li><p><a name="d0e8860"></a>
<a href="ch13.html#howto-jbossjetty-trouble" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-trouble" title="JBoss-Jetty troubleshooting tips">View some JBoss-Jetty troubleshooting tips</a>
</p></li></ol></div><p>
Now it is important to be aware that both the JBoss application server suite and Jetty are still in active development. They are both evolving as issues are reported, fixed and, new features are identified and
added. This means that <span class="emphasis"><i>some of the information contained in this document may be out of date with
respect to your copy of JBoss-Jetty</i></span>. This is even more likely to be the case if you have the latest
CVS or developer version of JBoss-Jetty, JBoss or Jetty.
</p><p>
If this is the case with you or, if you have any further comments or suggestions about this document or
JBoss-Jetty then please do one or more of the following:
<div class="itemizedlist"><ul><li><p><a name="d0e8874"></a>
Join the <a href="javascript:if(confirm('http://www.jboss.org/lists.jsp \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.jboss.org/lists.jsp'" tppabs="http://www.jboss.org/lists.jsp" target="_top">JBoss Mailing List</a>
if your comments or suggestions are relevant to JBoss.
</p></li><li><p><a name="d0e8880"></a>
Join the <a href="javascript:if(confirm('http://jetty.mortbay.com/jetty/mailingLists.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://jetty.mortbay.com/jetty/mailingLists.html'" tppabs="http://jetty.mortbay.com/jetty/mailingLists.html" target="_top">Jetty Mailing List</a>
if your comments or suggestions are relevant to Jetty.
</p></li></ul></div>
You will then be able to contribute to the production of this document and the development of JBoss-Jetty.
</p></div></div><div class="section"><a name="howto-jbossjetty-requirements"></a><div class="titlepage"><div><h3 class="title"><a name="howto-jbossjetty-requirements"></a>Check JBoss-Jetty system requirements</h3></div></div><p>
Before you can use JBoss-Jetty you must ensure that your computer's configuration meets or exceeds the
JBoss-Jetty system requirements. To ensure that your computer can run JBoss-Jetty properly we will check
the following:
</p><div class="itemizedlist"><ul><li><p><a name="d0e8893"></a>
<a href="ch13.html#howto-jbossjetty-requirements-hardware" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-requirements-hardware" title="Check Server Hardware specification">Server Hardware specification</a>
</p></li><li><p><a name="d0e8899"></a>
<a href="ch13.html#howto-jbossjetty-requirements-java" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-requirements-java" title="Check Java Platform version">Java Platform version</a>
</p></li><li><p><a name="d0e8905"></a>
<a href="ch13.html#howto-jbossjetty-requirements-database" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html#howto-jbossjetty-requirements-database" title="Check Database Server integration (optional)">Database Server integration (optional)</a>
</p></li></ul></div><div class="section"><a name="howto-jbossjetty-requirements-hardware"></a><div class="titlepage"><div><h4 class="title"><a name="howto-jbossjetty-requirements-hardware"></a>Check Server Hardware specification</h4></div></div><p>
JBoss-Jetty is a suite of enterprise application server applications and, like all such complex software,
the physical computer on which JBoss-Jetty is deployed should be configured according to the requirements
of the processing load that it will be expected to serve. I don't cover Server Configuration and Capacity
Planning any further in this document. A minimum <span class="emphasis"><i>recommended</i></span> configuration for a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -