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

📄 ch13.html

📁 详细介绍了jboss3.0的配置等
💻 HTML
📖 第 1 页 / 共 3 页
字号:
				computer running JBoss-Jetty is shown below. JBoss-Jetty would work - albeit more slowly - on lesser 
				specified systems:
			</p><div class="table"><p><a name="d0e8919"></a><b>Table 13.1. Minimum recommended specifications for a JBoss-Jetty computer</b></p><table summary="Minimum recommended specifications for a JBoss-Jetty computer" border="1"><colgroup><col><col></colgroup><tbody><tr><td>OPERATING SYSTEM</td><td>Microsoft Windows 2000 or Linux or Other OS</td></tr><tr><td>JAVA PLATFORM</td><td>JDK 1.3 (or JDK1.2.2 if JDK1.3 is not available)</td></tr><tr><td>CPU</td><td>233Mhz AMD K6-2 or Intel Pentium II</td></tr><tr><td>RAM</td><td>64MB (128MB for Windows 2000)</td></tr><tr><td>DISK INTERFACE TYPE</td><td>UDMA/66</td></tr><tr><td>HARD DISK SIZE</td><td>6GB</td></tr><tr><td>NETWORKING</td><td>10/100Mbs Ethernet NIC</td></tr></tbody></table></div></div><div class="section"><a name="howto-jbossjetty-requirements-java"></a><div class="titlepage"><div><h4 class="title"><a name="howto-jbossjetty-requirements-java"></a>Check Java Platform version</h4></div></div><p>
				JBoss-Jetty is a 100% Pure Java suite of enterprise application servers and your system 
				<span class="emphasis"><i>must</i></span> have a Java 2 JDK installed. More specifically, the Java 2 JDK v1.3 
				(i.e. JDK1.3 or later) is <span class="emphasis"><i> recommended </i></span> for use with JBoss-Jetty. Although JBoss-Jetty
				has not been tested an <span class="emphasis"><i>all</i></span> JDK1.3 platforms, it <span class="emphasis"><i>should</i></span> run on all 
				JDK1.3 installations regardless of the underlying OS platform. Official JDKs are available to download from 
				Sun at <a href="javascript:if(confirm('http://java.sun.com/jdk/  \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://java.sun.com/jdk/'" tppabs="http://java.sun.com/jdk/" target="_top">http://java.sun.com/jdk/</a>.
			</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title"><a name="d0e8979"></a>Note</h3><p>
					JBoss-Jetty can be used (and has been used) with the Sun Java 2 JDK v1.2.2 but some features - most 
					notably <span class="emphasis"><i>hot deployment</i></span> - will not work. Since a JDK1.3 distribution is available 
					for most popular OS platforms, JDK v1.2.2 is <span class="emphasis"><i>not recommended</i></span> for use with JBoss-Jetty. 						More information is available on 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 archives</a>.
				</p></div></div><div class="section"><a name="howto-jbossjetty-requirements-database"></a><div class="titlepage"><div><h4 class="title"><a name="howto-jbossjetty-requirements-database"></a>Check Database Server integration (optional)</h4></div></div><p>
				Most installations of JBoss-Jetty will require access to a 
				<span class="emphasis"><i>relational database management system (RDBMS)</i></span> (or more informally a 
				<span class="emphasis"><i>database server</i></span>). A database server is used to store and manipulate data by JSP pages, 
				Servlets and EJBeans. This is often the basis of dynamic web sites and web applications.
			</p><p>
				If you plan to use Entity beans with CMP with your copy of JBoss-Jetty, then you will 
				<span class="emphasis"><i>need</i></span> to ensure that JBoss-Jetty has access to a database server. Examples of RDBMS 
				that can be used with JBoss-Jetty are Hypersonic SQL(supplied with JBoss-Jetty), MySQL, Oracle 8i/9, 
				Sybase ASE, Microsoft Access and Microsoft SQL Server. The criteria for choosing a database is as complex 
				as those for choosing an OS platform. As a result, JBoss-Jetty doesn't mandate any particular RDBMS and can be 
				configured to work all the popular RDBMS and many other RDBMS not listed here.
			</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title"><a name="d0e9007"></a>Note</h3><p>
					You will need an appropriate JDBC driver for your database server before it can be used with JBoss-Jetty 
					(or indeed with any other Java application). On the Microsoft Windows&#8482; platforms, Sun's JDBC-ODBC 
					bridge may be used in lieu of a native JDBC driver but, this is not a <span class="emphasis"><i>recommended</i></span> 
					solution. You are well advised to obtain a more robust JDBC driver for your chosen RDBMS. For more 
					information see:
					<div class="itemizedlist"><ul><li><p><a name="d0e9014"></a>
								<a href="ch03.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch03.html" title="Chapter 3. Using Databases and other Enterprise Resources">Chapter 3</a> for basic information on configuring JBoss-Jetty to use 
								a database server.
							</p></li><li><p><a name="d0e9019"></a>
								<a href="ch05.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch05.html" title="Chapter 5. Using container-managed persistence">Chapter 5</a> for more information on Container Managed Persistence using 
								a database server
							</p></li><li><p><a name="d0e9024"></a>
								<a href="ch13.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch13.html" title="Chapter 13. HOWTO">Chapter 13</a> for documents addressing the configuration of specific RDBMS
							</p></li></ul></div>
				</p></div></div></div><div class="section"><a name="howto-jbossjetty-install"></a><div class="titlepage"><div><h3 class="title"><a name="howto-jbossjetty-install"></a>Install JBoss-Jetty on your system </h3></div></div><p>
			At this stage you have a system that meets JBoss-Jetty's system requirements. You should also have a copy of 
			the JBoss-Jetty distribution. If you don't have JBoss, see 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 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> 
			for instructions on how to obtain it.
		</p><p>
			Depending on your requirements you would have either chosen to download the JBoss binary distribution or you may 
			have downloaded a snapshot of the JBoss-Jetty source tree via CVS. In the latter case you will need to build both 
			JBoss-Jetty. <span class="emphasis"><i>This document assumes you have the JBoss-Jetty binary distribution</i></span> but, the 
			process is easy enough that you should still be able to adapt the instructions below if you follow the CVS route.
		</p><p>
			To install the files from the JBoss distribution archive onto your system do the following:
		</p><div class="section"><a name="d0e9048"></a><div class="titlepage"><div><h4 class="title"><a name="d0e9048"></a>Create a JBoss-Jetty installation directory</h4></div></div><p>
				Create a directory on your system for the JBoss-Jetty application. This directory will thereafter be 
				referred to as the <span class="emphasis"><i>JBoss installation directory</i></span> or just as 
				<tt>JBOSSJETTY_HOME</tt>. Below are the commands for creating a JBoss-Jetty installation 
				directory on Windows and Linux/Unix platforms. In the examples, the new directory is also made the 
				current working directory. You might choose a different location for JBoss-Jetty on your system.
			</p><div class="informaltable" id="d0e9059"><a name="d0e9059"></a><table border="1"><colgroup><col><col></colgroup><tbody><tr><td>Windows 95/98, Windows NT or Windows 2000</td><td>Linux, Solaris and other Unixes</td></tr><tr><td><pre class="programlisting">
mkdir C:\JavaApps\jboss-jetty
chdir C:\JavaApps\jboss-jetty
								</pre></td><td><pre class="programlisting">
md /usr/bin/jboss-jetty
cd /usr/bin/jboss-jetty
								</pre></td></tr></tbody></table></div></div><div class="section"><a name="d0e9074"></a><div class="titlepage"><div><h4 class="title"><a name="d0e9074"></a>Extract the JBoss-Jetty files to the installation directory</h4></div></div><p>
				Change the current directory to the JBoss installation directory (if you haven't already done so) and 
				extract the files fom the JBoss-Jetty distribution archive to the installation directory. The general 
				form of the command to extract the files is:
			</p><p>
				<tt>jar xvf <i><tt>jBoss-archive-filename</tt></i>
				</tt>
			</p><p>
				As an example, let's say you have a JBoss-Jetty binary distribution archive named 
				<tt>jboss-jetty.zip</tt> and it is stored in a directory called <tt>C:\Packages</tt> 
				or <tt>~/packages</tt> on a Windows or Linux/Unix computer respectively. To extract the JBoss-Jetty 
				files from the archive, you would type the following commands on the Windows and Linux/Unix platforms. 
			</p><div class="informaltable" id="d0e9098"><a name="d0e9098"></a><table border="1"><colgroup><col><col></colgroup><tbody><tr><td>Windows 95/98, Windows NT or Windows 2000</td><td>Linux, Solaris and other Unixes</td></tr><tr><td><pre class="programlisting">
chdir C:\JavaApps\jboss-jetty
jar xvf C:\Packages\jboss-jetty.zip
								</pre></td><td><pre class="programlisting">
cd /usr/bin/jboss-jetty
jar xvf ~/packages/jboss-jetty.zip
								</pre></td></tr></tbody></table></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title"><a name="d0e9113"></a>Note</h3><p>
					For the above command to work, the <tt>bin</tt> sub-directory of the JDK directory tree 
					must be added to your <tt>PATH</tt> environment variable. You might also be able to use a compatible 
					de-archiver such as <tt>winzip</tt> or <tt>gzip</tt> to extract the files.
				</p></div><p>
				You should now have the JBoss-Jetty application's files copied to the installation directory on your system.

⌨️ 快捷键说明

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