User: dewayne
Date: 01/02/13 13:25:45
Modified: business faq.html
Log:
General cleanup. Fixed broken links, updated info in several places,
pointed to new user manual where possible.
Revision Changes Path
1.5 +715 -569 newsite/business/faq.html
Index: faq.html
===================================================================
RCS file: /products/cvs/ejboss/newsite/business/faq.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- faq.html 2001/02/08 05:31:20 1.4
+++ faq.html 2001/02/13 21:25:45 1.5
@@ -1,569 +1,715 @@
-<html>
-
- <head>
- <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
- <meta name="generator" content="Adobe GoLive 4">
- <link rel="stylesheet" type="text/css" href="main.css" >
- </head>
-
- <body marginwidth="0" marginheight="0" onload="">
- <table border="0" cellpadding="0" cellspacing="3">
- <tr>
- <td width="600" valign="top">
- <table border="0" cellpadding="2"
cellspacing="0">
- <tr>
- <td
class="pageheader"><b>Frequently Asked Questions for JBoss</b></td>
- </tr>
- <tr>
- <td class="newsheader"><a
name="top_of_faq"></a><b>FAQ contents</b></td>
- </tr>
- <tr>
- <td class="newsbody"><font
face="Myriad Web,Arial">JBoss is an Open Source, standards-compliant, Enterprise
JavaBeans Application Server implemented in 100% Pure Java.The JBoss organization is
working to deliver JBoss as <i>the</i> premier Enterprise Java application server for
the Java 2 Enterprise Edition platform. JBoss will be delivered under the LGPL
licence. The JBoss project lives at <a
href="http://www.jboss.org/">www.JBoss.org</a>.<br>
- </font>
- <p><font face="Myriad
Web,Arial">This FAQ has been logically divided into the following sections - an <a
href="#FAQ-SECTION-CREDITS">initial section</a> about this document itself, a catchall
section for <a href="#FAQ-SECTION-GENERAL">general and background information</a>, a
section about the <a href="#FAQ-SECTION-JBOSS">JBoss projects and people</a> and
then three role-based sections. Each of this sections is designed to help you based on
what you do with JBoss - <a href="#FAQ-SECTION-BEANDEV">Bean Developer</a>, <a
href="#FAQ-SECTION-SRVDEV">Server Administrator</a> or <a
href="#FAQ-SECTION-SRVDEV">Container Developer</a>.</font></p>
- <p><font face="Myriad
Web,Arial">If you are looking for more Technical Information about JBoss then you
should also read the <a href="../documentation/ejb.html">JBoss 2.0 EJB development
guide</a>.</font></p>
- <div align="right">
- <div
width="100%">
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="100%"><a href="#FAQ-CREDITS" name="FAQ-SECTION-CREDITS"><font
face="Myriad Web,Arial">FAQ Info and Credits</font></a></td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="4%"></td>
-
<td width="96%">
-
<ul>
-
<li><a href="#FAQ-CREDITS-AUTHORS"><font face="Myriad
Web,Arial">Who is responsible for this FAQ ?</font></a>
-
<li><a href="#FAQ-CREDITS-LATEST"><font face="Myriad
Web,Arial">How do I get the latest version of this FAQ?</font></a>
-
</ul>
-
</td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="100%"><a href="#FAQ-GENERAL" name="FAQ-SECTION-GENERAL"><font
face="Myriad Web,Arial">General Questions</font></a></td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="4%"></td>
-
<td width="96%">
-
<ul>
-
<li><a href="#FAQ-GENERAL-J2EE"><font face="Myriad
Web,Arial">What is Java 2 Enterprise Edition (J2EE) ?</font></a>
-
<li><a href="#FAQ-GENERAL-EJB"><font face="Myriad
Web,Arial">What are Enterprise JavaBeans (EJB) ?</font></a>
-
<li><a href="#FAQ-GENERAL-JAVABEANS"><font face="Myriad
Web,Arial">Are JavaBeans different from Enterprise JavaBeans ?</font></a>
-
<li><a href="#FAQ-GENERAL-JAS"><font face="Myriad
Web,Arial">What is a Java Application Server ?</font></a>
-
<li><a href="#FAQ-GENERAL-DEPLOYMENT"><font face="Myriad
Web,Arial">What does Deployment mean ?</font></a>
-
<li><a href="#FAQ-GENERAL-TRANSMGMT"><font face="Myriad
Web,Arial">What is Transaction Management ?</font></a>
-
<li><a href="#FAQ-GENERAL-PERSISTENCE"><font face="Myriad
Web,Arial">What is Bean / Container Managed Persistence ?</font></a>
-
</ul>
-
</td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="100%"><a href="#FAQ-JBOSS" name="FAQ-SECTION-JBOSS"><font
face="Myriad Web,Arial">JBoss Questions</font></a></td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="4%"></td>
-
<td width="96%">
-
<ul>
-
<li><a href="#FAQ-JBOSS-SUMMARY"><font face="Myriad
Web,Arial">What is JBoss ?</font></a>
-
<li><a href="#FAQ-JBOSS-PGOV"><font face="Myriad
Web,Arial">What is Project Game Over (PGOV) ?</font></a>
-
<li><a href="#FAQ-JBOSS-PGO"><font face="Myriad
Web,Arial">What is Project Go! (PGO) ?</font></a>
-
<li><a href="#FAQ-JBOSS-BENEFITS"><font face="Myriad
Web,Arial">What are the benefits of JBoss ?</font></a>
-
<li><a href="#FAQ-JBOSS-COMPLIANCE"><font face="Myriad
Web,Arial">Is JBoss in compliance with the current EJB spec ?</font></a>
-
<li><a href="#FAQ-JBOSS-COMMUNITY"><font face="Myriad
Web,Arial">What is the JBoss community ?</font></a>
-
<li><a href="#FAQ-JBOSS-OBTAIN"><font face="Myriad
Web,Arial">How can I get a copy of JBoss ?</font></a>
-
<li><a href="#FAQ-JBOSS-INSTALL"><font face="Myriad
Web,Arial">How do I install JBoss ?</font></a>
-
<li><a href="#FAQ-JBOSS-SELL"><font face="Myriad
Web,Arial">Can I sell JBoss ?</font></a>
-
<li><a href="#FAQ-JBOSS-DISTRIBUTE"><font face="Myriad
Web,Arial">Can I include JBoss in my distribution ?</font></a>
-
<li><a href="#FAQ-JBOSS-IIOP"><font face="Myriad
Web,Arial">Does JBoss support RMI/IIOP ?</font></a>
-
<li><a href="#FAQ-JBOSS-SOAP"><font face="Myriad
Web,Arial">Does JBoss support SOAP ?</font></a>
-
<li><a href="#FAQ-JBOSS-RMH"><font face="Myriad
Web,Arial">How do I make the RMH samples work ?</font></a>
-
<li><a href="#FAQ-JBOSS-JDKS"><font face="Myriad
Web,Arial">Are there any functional differences between jdk1.2 and jdk1.3 ?</font></a>
-
<li><a href="#FAQ-JBOSS-PERFORMANCE"><font face="Myriad
Web,Arial">Any benchmark or performance metrics available?</font></a>
-
<li><a href="#FAQ-JBOSS-REMOTE"><font face="Myriad
Web,Arial">How do I get my client working from a remote machine ?</font></a>
-
<li><a href="#FAQ-JBOSS-EJX"><font face="Myriad
Web,Arial">EJX won't start, what's wrong ?</font></a>
-
</ul>
-
</td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="100%"><a href="#Definitions" name="FAQ-SECTION-BEANDEV"><font
face="Myriad Web,Arial">'Bean Developer' Questions</font></a></td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="4%"></td>
-
<td width="96%">
-
<ul>
-
<li><a href="#FAQ-BEANDEV-RUNJAR"><font face="Myriad
Web,Arial">How can I run my EJB jar in JBoss ?</font></a>
-
<li><a href="#FAQ-BEANDEV-GUIDE"><font face="Myriad
Web,Arial">Is a programmer guide available for JBoss ?</font></a>
-
<li><a href="#FAQ-BEANDEV-RESOURCEPREFIX"><font face="Myriad
Web,Arial">When do I need to prefix a lookup with "java:comp/env"
?</font></a>
-
<li><a href="#FAQ-BEANDEV-ACCESSBEANS"><font face="Myriad
Web,Arial">How do I access beans in a different jar ?</font></a>
-
</ul>
-
</td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="100%"><a href="#Definitions" name="FAQ-SECTION-ADMIN"><font
face="Myriad Web,Arial">'Server Administrator' Questions</font></a></td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="4%"></td>
-
<td width="96%">
-
<ul>
-
<li><a href="#FAQ-ADMIN-START"><font face="Myriad
Web,Arial">How is JBoss started ?</font></a>
-
<li><a href="#FAQ-ADMIN-SHUTDOWN"><font face="Myriad
Web,Arial">How do I cleanly shutdown JBoss ?</font></a>
-
<li><a href="#FAQ-ADMIN-NTSERVICE"><font face="Myriad
Web,Arial">How can I set up JBoss as a service in Windows NT ?</font></a>
-
<li><a href="#FAQ-ADMIN-BOOT"><font face="Myriad
Web,Arial">How do I configure JBoss to start when the server boots ?</font></a>
-
<li><a href="#FAQ-ADMIN-SECURITY"><font face="Myriad
Web,Arial">How do I configure security with JBoss ?</font></a>
-
<li><a href="#FAQ-ADMIN-DEPLOY"><font face="Myriad
Web,Arial">What tasks must be completed to deploy an EJB using JBoss ?</font></a>
-
<li><a href="#FAQ-ADMIN-UNDEPLOY"><font face="Myriad
Web,Arial">How do I undeploy an application ?</font></a>
-
<li><a href="#FAQ-ADMIN-CLUSTER"><font face="Myriad
Web,Arial">Can I cluster multiple JBoss servers ?</font></a>
-
<li><a href="#FAQ-ADMIN-DATASOURCE"><font face="Myriad
Web,Arial">How do I configure [Database Type] with JBoss ?</font></a>
-
<li><a href="#FAQ-ADMIN-JAWSDTD"><font face="Myriad
Web,Arial">Is a DTD available for jaws.xml ?</font></a>
-
<li><a href="#FAQ-ADMIN-JBOSSDTD"><font face="Myriad
Web,Arial">Is a DTD available for jboss.xml ?</font></a>
-
</ul>
-
</td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="100%">'<a href="#Definitions" name="FAQ-SECTION-SRVDEV"><font
face="Myriad Web,Arial">Container Developer' Questions</font></a></td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="4%"></td>
-
<td width="96%">
-
<ul>
-
<li><a href="#FAQ-CONTAINER-SPECS"><font face="Myriad
Web,Arial">Where can I find technical specs for the JBoss server ?</font></a>
-
<li><a href="#FAQ-CONTAINER-CONTRIBUTE"><font face="Myriad
Web,Arial">How can I contribute to JBoss ?</font></a>
-
<li><a href="#FAQ-CONTAINER-HELP"><font face="Myriad
Web,Arial">What help exists to help me learn about the JBoss source ?</font></a>
-
</ul>
-
</td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="100%"><a href="#FAQ-HISTORY"><font face="Myriad Web,Arial">FAQ
Revision History</font></a></td>
-
</tr>
-
</table>
- </p>
- <p>
- <table
border="0" width="95%">
-
<tr>
-
<td width="4%"></td>
-
<td width="96%"> </td>
-
</tr>
-
</table>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="newsheader"><b><a
name="FAQ-CREDITS"></a><font color="white" face="Myriad Web,Arial" size="3">FAQ Info
and Credits</font></b></td>
- </tr>
- <tr>
- <td class="newsbody">
- <h3><a
name="FAQ-CREDITS-AUTHORS"></a><font face="Myriad Web,Arial">Who is responsible for
this FAQ ?</font></h3>
- <p><font face="Myriad
Web,Arial">The first version of the JBoss FAQ was created by <a
href="mailto:[EMAIL PROTECTED]">Kunle Odutola</a> in March 2000. The current
version of the FAQ is a rewrite by <a href="mailto:[EMAIL PROTECTED]">Jeremiah
Johnson</a> in August 2000. The style and presentation of this FAQ borrows from many
numerous FAQs that the author has been exposed to. The FAQ is currently maintained on
behalf of the JBoss community by <a href="mailto:[EMAIL PROTECTED]">Kunle
Odutola</a>. Most of the wisdom contained in the answers presented here however comes
from the collective insights and diligence of the many others who inhabit the JBoss
mailing list(s) and the EJB world-at-large. Particular mention goes to the following
people from the JBoss mailing list:</font></p>
- <ul>
- <li><font
face="Myriad Web,Arial">Rickard </font><font size="2" face="Myriad
Web,Arial">Ö</font><font face="Myriad Web,Arial">berg</font>
- <li><font
face="Myriad Web,Arial">Marc Fleury</font>
- <li><font
face="Myriad Web,Arial">Dan O'Connor</font>
- <li><font
face="Myriad Web,Arial">Clint Dalton</font>
- <li><font
face="Myriad Web,Arial">Stephan Schmidt</font>
- <li><font
face="Myriad Web,Arial">Micheal Jordan</font>
- <li><font
face="Myriad Web,Arial">Kunle Odutola</font>
- <li><font
face="Myriad Web,Arial">Jeremiah Johnson</font>
- </ul>
- <p><font face="Myriad
Web,Arial">If you see your genius represented anywhere in this FAQ without due
attribution to you and you would like it fixed, drop me a line and I'll put it
in.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></p>
- <p> </p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-CREDITS-LATEST"></a>Where can I get the latest version of this
FAQ?</font></h3>
- <ul>
- <li><font
face="Myriad Web,Arial">From the JBoss project's homepage at <a
href="http://www.ejboss.org/">www.JBoss.org</a>. There is a link to a release version
of this FAQ that in sync with the latest release of JBoss.</font>
- <li><font
face="Myriad Web,Arial">From the JBoss binary distribution archives. These are
downloadable from a link on <a href="http://www.ejboss.org/">www.JBoss.org</a> and,
they contain a copy of this FAQ that is appropriate to the version of JBoss in the
archive.</font>
- <li><font
face="Myriad Web,Arial">From the JBoss CVS repository. The version in CVS is often
under development and is more appropriate for developers and seasoned JBoss pros. The
other versions are derived from the CVS FAQ.</font>
- </ul>
- <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></td>
- </tr>
- <tr>
- <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><a name="FAQ-GENERAL"></a><b>General
Questions</b></font></td>
- </tr>
- <tr>
- <td class="newsbody">
- <h3><a
name="FAQ-GENERAL-J2EE"></a><font face="Myriad Web,Arial">What is Java 2 Enterprise
Edition (J2EE) ?</font></h3>
- <p><font face="Myriad
Web,Arial">The Java 2 Platform Enterprise Edition (J2EE) is the platform for
developing, deploying and managing n-tiered information systems using Java
technologies. The platform encourages the development of enterprise systems with the
ability to run <i>anywhere</i> across a wide range of operating systems. J2EE extends
the Java 2 Platform to cater for the server-side processing needs of the enterprise
with key technologies including the following:</font></p>
- <ul>
- <li><font
face="Myriad Web,Arial">Enterprise JavaBeans (EJB)</font>
- <li><font
face="Myriad Web,Arial">Java Naming and Directory Interface (JNDI)</font>
- <li><font
face="Myriad Web,Arial">JDBC data access API</font>
- <li><font
face="Myriad Web,Arial">Java Servlets</font>
- <li><font
face="Myriad Web,Arial">JavaServer Pages (JSP)</font>
- <li><font
face="Myriad Web,Arial">Java Transaction API (JTA)</font>
- <li><font
face="Myriad Web,Arial">Java Transaction Service (JTS)</font>
- <li><font
face="Myriad Web,Arial">Java Messaging Service (JMS)</font>
- <li><font
face="Myriad Web,Arial">Remote Method Invocation (RMI)</font>
- <li><font
face="Myriad Web,Arial">CORBA</font>
- </ul>
- <p><font face="Myriad
Web,Arial">Further information about Java 2 Platform Enterprise Edition (J2EE) is
available on the <a href="http://java.sun.com/j2ee/">J2EE home page</a>.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></p>
- <p> </p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-EJB"></a>What is Enterprise JavaBeans (EJB)
?</font></h3>
- <p><font face="Myriad
Web,Arial">Enterprise JavaBeans (EJB) is a <a
href="http://java.sun.com/products/ejb/docs.html">specification and architecture</a>
for the development and deployment of component-based, distributed business
applications on the Java platform. It is a significant part of Java 2 Enterprise
Edition (J2EE) - a unified architecture and platform for delivering the benefits of
the Java platform to the server-based computing environment.</font></p>
- <p><font face="Myriad
Web,Arial">A business component that is developed for the Enterprise JavaBean
architecture is also confusingly called an Enterprise JavaBean. These components may
be written once, and then deployed on any server platform that supports the Enterprise
JavaBeans specification. A key goal of the EJB architecture is to make the job of
developing EJB components and the client applications that access them very simple
indeed. Much of this is achieved by defining an architectural entity called a
<i>container</i> - an EJB container - that acts as a buffer between EJB components and
their client as well as between EJB components and the very complex reality of
developing scalable, distributed systems. An EJB container is itself contained within
an <i>EJB server</i>.</font></p>
- <p><font face="Myriad
Web,Arial">Further information about Enterprise JavaBeans is available on the <a
href="http://java.sun.com/products/ejb/index.html">Enterprise JavaBeans home
page</a>.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></p>
- <p> </p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-JAVABEANS"></a>Are JavaBeans different from Enterprise
JavaBeans ?</font></h3>
- <p><font face="Myriad
Web,Arial">Yes, JavaBeans are different from Enterprise JavaBeans (EJBs). Both
JavaBeans and EJBs are units of packaged functionality but they are designed to
function in very specific and different environments. JavaBeans facilitate black box
reuse of visual and non-visual components within JavaBean-aware IDEs. EJBs on the
other hand are non-visual components that can only be deployed in an EJB-compliant
Java application server. </font></p>
- <p><font face="Myriad
Web,Arial">JavaBeans are basically just classes executed in the JVM, while EJBs are
managed objects that are deployed within an EJB application server. JavaBeans may be
driven by events, but EJBs are currently just driven by remote method calls.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-JAS"></a>What is a Java Application Server
?</font></h3>
- <p><font face="Myriad
Web,Arial">In the current context, a Java application server is a sophisticated
software system that provide a run-time environment for executing components written
in Java. The widespread adoption of the EJB standard from the J2EE specification has
ensured that a well written component can be without additional development work
deployed in almost all Java application servers.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-DEPLOYMENT"></a>What does Deployment mean ?</font></h3>
- <p><font face="Myriad
Web,Arial">Deployment is the act of preparing and sending the bean(s) to the
application server to become available as application components. In preparation for
deployment, any resources that the bean provider has used in the code must be
associated with real resources, transactional attirbutes may be specified, security
attributes may be set, and any other container-specific settings will all be specified
in deployment descriptors. The compiled code and the deployment descriptors will all
be jarred together into an application jar and then the jar will be placed in the
necessary location for the application server to use. The final act of deployment is
the application server parsing the deployment descriptors, preparing the container
environment, and then binding the bean names to the naming service to make them
available for calls.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-TRANSMGMT"></a>What is Transaction Management
?</font></h3>
- <p><font face="Myriad
Web,Arial">A transaction is an atomic and reliable unit of program execution .
Transactions systems are invaluable in any system that support concurrent processing.
For example, if multiple clients are using the same database table concurrently, it's
possible that the database write operations they perform could leave the table in an
inconsistent state. With transactional support, each user see a transaction as an
operation that either completes successfully or not at all. The possibility of
inconsistencies arising as result of their interleaved database operations is
removed. </font></p>
- <p><font face="Myriad
Web,Arial">The Enterprise JavaBeans architecture provides automatic support for
distributed transactions in component based applications. Such distributed
transactions can atomically update data in multiple databases. The burden of managing
transactions is thus shifted from the bean developer to the EJB container and/or
server.</font></p>
- <p><font face="Myriad
Web,Arial">Read chapter 11 of the EJB 1.1 spec if you are interested in knowing more
about Transaction Management.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-PERSISTENCE"></a>What is Bean / Container Managed
Persistence ?</font></h3>
- <p><font face="Myriad
Web,Arial">With respect to Enterprise JavaBeans (EJBs), persistence is a term that
describes the process whereby the the state of an active (stateful?) EJB is stored
(usually to a database) in such a way that the EJB can be reactivated later. It is
serialization for EJBs if you like.</font></p>
- <p><font face="Myriad
Web,Arial">There are two flavours of persistence in EJB - Bean-Manage Persistence
(BMP) and Container-Managed Persistence (CMP). The main difference between the two
flavours is who is responsible for <i>actually</i> persisting the EJB. In BMP the bean
developer is responsible for writing the code that persists the beans state (maybe
using JDBC?) while in CMP, the container is reponsible. In CMP a bean developer might
not even <i>know</i> what object-relational database persistence is let alone how it
works?. Pretty neat.</font></p>
- <p><font face="Myriad
Web,Arial">A relevant excerpt from the <a
href="http://java.sun.com/products/ejb/docs.html">EJB 1.1. specification</a> itself,
on page 100:</font></p>
- <p><font face="Myriad
Web,Arial">"The entity bean component protocol allows the entity Bean Provider
either to implement the entity bean's persistence directly in the entity bean class or
in one or more helper classes provided with the entity bean class (bean-managed
persistence), or to delegate the entity bean's persistence to the Container Provider
tools used at deployment time (container-managed persistence)."<br>
- </font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></td>
- </tr>
- <tr>
- <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><a name="FAQ-JBOSS"></a><b>JBoss
Questions</b></font></td>
- </tr>
- <tr>
- <td class="newsbody">
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-SUMMARY"></a>What is JBoss ?</font></h3>
- <p><font face="Myriad
Web,Arial">Basically, JBoss is an application server written in Java that can host
business components developed in Java. The interface and architecture of the JBoss
application server, the Java business components that can be hosted inside JBoss and
various protocols by which a client application (or other business components) can
interact with the business components is defined by the <a
href="http://java.sun.com/products/ejb/docs.html">Enterprise JavaBeans
specification</a>.</font></p>
- <p><font face="Myriad
Web,Arial">JBoss 2 is designed to be an EJB v1.1 container and server. There are <a
href="bugzilla/show_bug.cgi?id=109">efforts underway</a> currently to extend the
support to EJB v2.0 but the work isn't expected to begin before Q4 2000. The JBoss
server is developed in the Open Source tradition by volunteers and sponsors using 100%
Pure Java. </font></p>
- <p><font face="Myriad
Web,Arial">We are working very hard to ensure that JBoss rightfully becomes <i>the</i>
premier EJB server for the Java 2 Enterprise Edition.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></p>
- <p> </p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-PGOV"></a>What is Project Game Over or PGOV ?</font></h3>
- <p><font face="Myriad
Web,Arial">Project Games Over (pGO or PGOV) is a co-ordinated set of activities that
are designed to produce a production quality jboss2.0 and move us towards jboss3.0 -
<i>the</i> integrated j2EE container. There can be no hard time limits in Open
Source but pGO hope to have a production quality beta of JBoss 2 by Q4
2000. </font></p>
- <p><font face="Myriad
Web,Arial">pGO is a goal-oriented programme that has successfully galvanised even the
most hardcore and eternally galvanised members of the JBoss community. The goal?. A
finished, production version of JBoss 2 that covers EJB1.1, basic integration
with other J2EE components. We will essentially provide the "essentials of
J2EE" in open source.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-PGO"></a>What is Project Go! (pGO!) ?</font></h3>
- <p><font face="Myriad
Web,Arial">After pGO above, the pGO! programme (probably needs a significantly
different name) will move JBoss on towards EJB2.0 compliance and some advanced
features (some have started) but it will take longer, probably around Q1
2001.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-BENEFITS"></a>What are the benefits of JBoss
?</font></h3>
- <p><font face="Myriad
Web,Arial">Lots, here is an initial list:</font></p>
- <ul>
- <li><font
face="Myriad Web,Arial">dynamic "hot" deploy</font>
- <li><font
face="Myriad Web,Arial">proxy based EJBs</font>
- <li><font
face="Myriad Web,Arial">configurable container</font>
- <li><font
face="Myriad Web,Arial">small footprint</font>
- <li><font
face="Myriad Web,Arial">JMX based architecture</font>
- <li><font
face="Myriad Web,Arial">"full" J2EE implementation / integration</font>
- <li><font
face="Myriad Web,Arial">large, active developer and user community</font>
- <li><font
face="Myriad Web,Arial">free speech _and_ free beer</font>
- </ul>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-COMPLIANCE"></a>Is JBoss in compliance with the current
EJB spec ?</font></h3>
- <p><font face="Myriad
Web,Arial">Yes. Well mostly. JBoss 2 is <a
href="http://www.telkel.com/bugzilla/show_bug.cgi?id=136">being continuously
tested</a> for compliance with the <a
href="http://java.sun.com/products/ejb/docs.html">EJB 1.1 specification</a>.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-COMMUNITY"></a>What is the JBoss community ?</font></h3>
- <p><font face="Myriad
Web,Arial">The JBoss community is a pool of contributors working on <b>joint J2EE
projects</b> much like the "Apache group" of Apache Server fame. JBoss
people come from all over the world... 'Silicon Valley' California, London and the
rest of the UK, France, Sweden, Siberia, Hong Kong, Singapore, Australia and there's
even a few from the 'Tropical Antarctic' (otherwise known as New Zealand).</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-OBTAIN"></a>How can I get a copy of JBoss ?</font></h3>
- <ul>
- <li><font
face="Myriad Web,Arial">Binary: From the JBoss project's <a
href="http://www.jboss.org/">homepage</a>, there is a link to JBoss <a
href="http://www.jboss.org/binary.htm">binary distributions</a> for JDK 1.2.2 and JDK
1.3 JVMs..</font>
- <li><font
face="Myriad Web,Arial">Source: From the JBoss CVS repository. The JBoss source code
is in CVS and this route is more appropriate for developers and seasoned JBoss pros.
Please note that you will need to build this version before it can be used.</font>
- <p><font
face="Myriad Web,Arial"><br>
- <b>CVS
Settings (permits read-only access only)</b><br>
- <br>
- <u>GNU/Linux
users and WinCVS users</u></font></p>
- <div
align="right">
-
<p><font face="Myriad Web,Arial">
- <table
border="0" width="90%">
-
<tr>
-
<td width="140"><code>CVSROOT</code></td>
-
<td><code>:pserver:[EMAIL PROTECTED]:/products/cvs/ejboss</code></td>
-
</tr>
-
<tr>
-
<td width="140"><code>password</code></td>
-
<td><code>anon</code></td>
-
</tr>
-
<tr>
-
<td width="140"><code>module</code></td>
-
<td><code> jboss <i>or</i> zola <i>or</i> spyderMQ</code></td>
-
</tr>
-
</table>
-
</font></p>
- </div>
- <p><font
face="Myriad Web,Arial"><u>jCVS users</u><br>
- jCVS does
things a little differently and breaks the pserver string above into the following<br>
- components on
the checkout page:</font></p>
- <div
align="right">
-
<p><font face="Myriad Web,Arial">
- <table
border="0" width="90%">
-
<tr>
-
<td width="140"><code>cvs module</code></td>
-
<td><code>jboss <i>or</i> zola <i>or</i> spyderMQ</code></td>
-
</tr>
-
<tr>
-
<td width="140"><code>cvs server</code></td>
-
<td><code>cvs.working-dogs.com</code></td>
-
</tr>
-
<tr>
-
<td width="140"><code>cvs repository</code></td>
-
<td><code>/products/cvs/ejboss</code></td>
-
</tr>
-
<tr>
-
<td width="140"><code>user</code></td>
-
<td><code>anon</code></td>
-
</tr>
-
<tr>
-
<td width="140"><code>password</code></td>
-
<td><code>anon</code></td>
-
</tr>
-
</table>
-
</font></p>
- </ul>
- </div>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-INSTALL"></a>How do I install JBoss ?</font></h3>
- <p><font face="Myriad
Web,Arial">If you download the binary, you can use these <a
href="http://www.jboss.org/JBoss2pr4/install.htm">instructions</a>.</font></p>
- <p><font face="Myriad
Web,Arial">The <a href="http://www.jboss.org/getting_startedJB2.htm">Getting
Started</a> guide has information for <a
href="http://www.jboss.org/jboss1.html">installing JBoss for Linux</a> and <a
href="http://www.jboss.org/jboss_win32_1.html">installing JBoss for
Windows</a>.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-SELL"></a>Can I sell JBoss ?</font></h3>
- <p><font face="Myriad
Web,Arial">Yes, and many will. Many will bundle it with J2EE applications for
example.</font></p>
- <p><font face="Myriad
Web,Arial">If you want to sell *only* JBoss, then you need to ask "what is the
value add"? Just putting it on a CD and selling may not get you many customers if
they can download it from the net just as easy.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-DISTRIBUTE"></a>Can I include JBoss in my distribution
?</font></h3>
- <p><font face="Myriad
Web,Arial">There is quite a <a
href="http://www.mail-archive.com/[email protected]/msg00262.html">long
post</a> discussing this question. In short, if you use a third party plug-in, then
you must adhere to the license of that third party plug-in <i>in addition</i> to the
JBoss license. For JBoss stuff, any of your classes that <b>import</b> JBoss classes
directly must be GPL.</font></p>
- <p><font face="Myriad
Web,Arial">Please note that standard Enterprise JavaBeans do not import JBoss code.
They access JBoss's functionality indirectly via the J2EE APIs. Hence they do
<i>not</i> import JBoss classes and do not have to be GPL'ed.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-IIOP"></a>Does JBoss support RMI/IIOP ?</font></h3>
- <p><font face="Myriad
Web,Arial">Not yet. But have a look at <a href="bugzilla/show_bug.cgi?id=104">this pGO
task</a> that is currently assigned to <a href="mailto:[EMAIL PROTECTED]">Jeremiah
Johnson</a>.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-SOAP"></a>Does JBoss support SOAP ?</font></h3>
- <p><font face="Myriad
Web,Arial">Yes, look at the <a href="zoap/zoap.htm">ZOAP module</a>.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-RMH"></a>How do I make the RMH samples work ?</font></h3>
- <p><a
href="mailto:[EMAIL PROTECTED]"><font face="Myriad Web,Arial">Ken
Jenks</font></a><font face="Myriad Web,Arial"> has gotten the examples to work, so
take a look at <a href="http://abiblion.com/products-jboss.html">his
work</a>.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-JDKS"></a>Are there any functional differences between
jdk1.2 and jdk1.3 ?</font></h3>
- <p><font face="Myriad
Web,Arial">None have been identified.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-PERFORMANCE"></a>Any benchmark or performance metrics
available ?</font></h3>
- <p><font face="Myriad
Web,Arial">Not yet.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-REMOTE"></a>How do I get my client working from a remote
machine ?</font></h3>
- <p><font face="Myriad
Web,Arial">This is a very common question and there are a couple options. The key is
to provide the correct server into the environment so that InitialContext performs its
lookup on the correct machine. One option is to set a couple system properties with
the correct information, another is to hard-code the properties, and a third option is
to use a standard jndi.properties file. Forget the hard-code option, here are the
others:</font></p>
- <ul>
- <li><font
face="Myriad Web,Arial">System Properties Specify java.naming.factory.initial and
java.naming.provider.url when you start your client. </font>
-<pre><font face="Myriad Web,Arial"><code> java -cp $CLASSPATH <br>
--Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
</code></font></br>
-<code> -Djava.naming.provider.url=remote.host.name <br>
org.opengroupware.logic.test.AuthenticateTest</code></font>
-</font></pre>
- <li><font
face="Myriad Web,Arial">jndi.properties Create a file called jndi.properties with the
following two lines (and put the jndi.properties file into the classpath of the
client): </font>
- <pre><font
face="Myriad Web,Arial"><code>
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory</code></font></br>
-<font face="Myriad Web,Arial"><code>
java.naming.provider.url=remote.host.name</code></font>
-<font face="Myriad Web,Arial"><code> </code></font></ul>
-
-
-</pre>
- <p><font face="Myriad
Web,Arial">For both of the options above, the instantiation of the InitialContext with
use the default constructor: </font></p>
- <pre><font
face="Myriad Web,Arial"><code> Object reference = new InitialContext().lookup(
"encryption.NoCrypt" );</code></font></pre>
- <p><font face="Myriad
Web,Arial">Obviously, you need to narrow that object reference - this is just an
example of getting a reference from JNDI.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-EJX"></a>EJX won't start, what's wrong ?</font></h3>
- <p><font face="Myriad
Web,Arial">The most common problem here is not running EJX from the bin
directory.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-RUNJAR"></a>How can I run my EJB jar in JBoss
?</font></h3>
- <p><font face="Myriad
Web,Arial">Once you have deployed your bean(s), they are ready to be called by clients
or other beans.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-GUIDE"></a>Is a programmer's guide available for JBoss
?</font></h3>
- <p><font face="Myriad
Web,Arial">Yes, take a look at the <a href="http://www.jboss.org/ejb.html">JBoss 2.0
EJB development</a> guide.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-RESOURCEPREFIX"></a>When do I need to prefix a lookup
with "java:comp/env" ?</font></h3>
- <p><font face="Myriad
Web,Arial">java:comp/env is used to prefix a resource that the bean is looking up in
the JNDI naming context. Looking up other bean or resources are examples where you
would prefix the JNDI name that the resource is bound to with java:comp/env</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-ACCESSBEANS"></a>How do I access beans in a different
jar ?</font></h3>
- <p><font face="Myriad
Web,Arial">Basically, accessing or referencing beans in a different jar should be the
same as if the beans were in the same jar. Configure EJB references as described in
section 14.3 of EJB 1.1 Spec and use JNDI to find the bean as any other
resource.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></td>
- </tr>
- <tr>
- <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><b><a name="FAQ-ADMIN"></a>Server
Administrator Questions</b></font></td>
- </tr>
- <tr>
- <td class="newsbody">
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-START"></a>How is JBoss started ?</font></h3>
- <p><font face="Myriad
Web,Arial">Run the appropriate run script in the bin directory. If your environment is
setup correctly, you can start JBoss with the command </font></p>
- <pre><font
face="Myriad Web,Arial"><code> java -jar run.jar.</code></font></pre>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-SHUTDOWN"></a>How do I cleanly shutdown JBoss
?</font></h3>
- <p><font face="Myriad
Web,Arial">^C and kill <pid> both cause a clean shutdown.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-NTSERVICE"></a>How can I set up JBoss as a service in
Windows NT ?</font></h3>
- <p><font face="Myriad
Web,Arial">Unfortunately there isn't a clear answer at the moment but please feel free
to follow up this <a
href="http://www.mail-archive.com/[email protected]/msg02167.html">mailing
list post</a> and report back to the list or this FAQ's authors if you have a
definitive answer.</font></p>
- <p><font face="Myriad
Web,Arial">It can be done is the generic answer though, it would seem.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-BOOT"></a>How do I configure JBoss to start when the
server boots ?</font></h3>
- <p><font face="Myriad
Web,Arial">For Windows NT see the answer to <a href="#FAQ-ADMIN-NTSERVICE">How can I
set up JBoss as a service in Windows NT ?</a>. For other systems, anyone care to offer
a solution?</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-SECURITY"></a>How do I configure security with JBoss
?</font></h3>
- <p><font face="Myriad
Web,Arial">Security is still under development with JBoss at the present. Please have
a look at <a href="http://www.jboss.org/project_game_over.htm#security">this pGO
squad's mission</a> for the current status.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-DEPLOY"></a>What tasks must be completed to deploy an
EJB using JBoss ?</font></h3>
- <ul>
- <li><font
face="Myriad Web,Arial">Compile the bean classes and interfaces. </font>
- <li><font
face="Myriad Web,Arial">Create an ejb-jar.xml file by hand or using EJX. </font>
- <li><font
face="Myriad Web,Arial">If using Entity Beans with CMP, then use EJX to create a
jaws.xml file. </font>
- <li><font
face="Myriad Web,Arial">If using resources, custom containers, or any other JBoss
specific configurations, then use EJX to create a jboss.xml file. </font>
- <li><font
face="Myriad Web,Arial">Finally, jar the .xml files (note that they must be in
META-INF parent directory) and the .class files for the bean into a jar in the deploy
directory. </font>
- <li><font
face="Myriad Web,Arial">Classes that the bean imports may be included in the deployed
jar, or they can be put into the lib/ext directory (via a jar).</font>
- </ul>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-UNDEPLOY"></a>How do I undeploy an application
?</font></h3>
- <p><font face="Myriad
Web,Arial">Removing the .jar file from the deploy directory will cause the file to be
undeployed.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-CLUSTER"></a>Can I cluster multiple JBoss servers
?</font></h3>
- <p><font face="Myriad
Web,Arial">Not yet. Clustering is still under development with JBoss at the present.
Please have a look at <a
href="http://www.jboss.org/project_game_over.htm#Clustering">this pGO squad's
mission</a> for the current status.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-DATASOURCE"></a>How do I configure [Database Type] with
JBoss ?</font></h3>
- <p><font face="Myriad
Web,Arial">Refer to the <a href="../manual/index.html">Manual</a>, which has <a
href="../manual/adv_config.html#poolex">examples</a> for many common databases and <a
href="../manual/adv_config.html#datasources">procedures</a> for the rest.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-JAWSDTD"></a>Is a DTD available for jaws.xml
?</font></h3>
- <p><a
href="../jaws.dtd"><font face="Myriad Web,Arial">Yes</font></a><font face="Myriad
Web,Arial">.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-JBOSSDTD"></a>Is a DTD available for jboss.xml
?</font></h3>
- <p><a
href="../jboss.dtd"><font face="Myriad Web,Arial">Yes</font></a><font face="Myriad
Web,Arial">.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></td>
- </tr>
- <tr>
- <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><b><a
name="FAQ-CONTAINER"></a>Container Developer Questions</b></font></td>
- </tr>
- <tr>
- <td class="newsbody">
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-CONTAINER-SPECS"></a>Where can I find technical specs for the
JBoss server ?</font></h3>
- <p><font face="Myriad
Web,Arial">There are two good pages about the JBoss server. <a
href="http://www.jboss.org/server.html">This one</a> describes the directory structure
of JBoss, JMX, the classpaths, and configuration files, and <a
href="http://www.jboss.org/container.html">this one</a> is has information about the
deployment, the persistence managers, invocation layers, and how to write plug-ins for
the server.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-CONTAINER-CONTRIBUTE"></a>How can I contribute to JBoss
?</font></h3>
- <p><font face="Myriad
Web,Arial">Unless you have your own ideas, browse through the project <a
href="http://www.jboss.org/project_game_over.htm">TODO list</a> to find something that
interests you and then send mail to <a
href="mailto:[EMAIL PROTECTED]?subject=%22I%20want%20to%20help%20JBoss!%22">the
board</a> indicating your interests. Even if you have your own ideas, it helps to get
involved in the mailing-list to identify areas of need and avoid duplicated (i.e.
wasted) effort.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
- <p><font face="Myriad
Web,Arial"> </font></p>
- <h3><font face="Myriad
Web,Arial"><a name="FAQ-CONTAINER-HELP"></a>What help exists to help me learn about
the JBoss source ?</font></h3>
- <p><font face="Myriad
Web,Arial">The <a href="#FAQ-CONTAINER-SPECS">technical information</a> listed above
is a great place to start. Don't overlook the mailing list archives for the various
components. As you get into the code, the jboss-dev mailing list is the best place to
direct your questions. The javadocs come with the binary distribution (in the docs
directory), or you can create the javadocs from the source with 'build
javadocs'.</font></p>
- <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></td>
- </tr>
- <tr>
- <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><b><a name="FAQ-HISTORY"></a>Revision
History</b></font></td>
- </tr>
- <tr>
- <td class="newsbody">
- <table border="0"
width="90%" align="center">
- <tr>
- <td
width="15%" style="background-color: #808080"><font face="Myriad
Web,Arial"><b> Date</b></font></td>
- <td
width="27%" style="background-color: #808080"><font face="Myriad
Web,Arial"><b> Author(s)</b></font></td>
- <td
width="58%" style="background-color: #808080"><font face="Myriad
Web,Arial"><b>Comments</b></font></td>
- </tr>
- <tr>
- <td
width="15%" style="background-color: #C0C0C0"><font face="Myriad
Web,Arial"> 26-Mar-2000</font></td>
- <td
width="27%" style="background-color: #C0C0C0"><font face="Myriad Web,Arial"> <a
href="mailto:[EMAIL PROTECTED]">Kunle Odutola</a> </font></td>
- <td
width="58%" style="background-color: #C0C0C0"><font face="Myriad Web,Arial">Created
first version of FAQ</font></td>
- </tr>
- <tr>
- <td
width="15%" style="background-color: #C0C0C0"><font face="Myriad
Web,Arial">23-Aug-2000</font></td>
- <td
width="27%" style="background-color: #C0C0C0"><a href="mailto:[EMAIL PROTECTED]"><font
face="Myriad Web,Arial">Jeremiah Johnson</font></a></td>
- <td
width="58%" style="background-color: #C0C0C0"><font face="Myriad Web,Arial">Added
questions and answers; reformatted to make simpler to add via text editor; removed
side boxes.</font></td>
- </tr>
- <tr>
- <td
width="15%" style="background-color: #C0C0C0"><font face="Myriad
Web,Arial">24-Aug-2000</font></td>
- <td
width="27%" style="background-color: #C0C0C0"><font face="Myriad Web,Arial"> <a
href="mailto:[EMAIL PROTECTED]">Kunle Odutola</a> </font></td>
- <td
width="58%" style="background-color: #C0C0C0"><font face="Myriad Web,Arial">Updated
answers in FAQ.</font></td>
- </tr>
- </table>
- <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></p>
- <p> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="600"></td>
- </tr>
- </table>
- </body>
-
-</html>
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
+ <link rel="stylesheet" type="text/css" href="main.css" >
+ </head>
+
+ <body marginwidth="0" marginheight="0">
+ <table border="0" cellpadding="0" cellspacing="3">
+ <tr>
+ <td width="600" valign="top">
+ <table border="0" cellpadding="2"
cellspacing="0">
+ <tr>
+ <td
class="pageheader"><b>Frequently Asked Questions for JBoss</b></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><a
name="top_of_faq"></a><b>FAQ contents</b></td>
+ </tr>
+ <tr>
+ <td class="newsbody"><font
face="Myriad Web,Arial">JBoss is an Open Source, standards-compliant, Enterprise
JavaBeans Application Server implemented in 100% Pure Java.The JBoss organization is
working to deliver JBoss as <i>the</i> premier Enterprise Java application server for
the Java 2 Enterprise Edition platform. JBoss will be delivered under the LGPL
licence. The JBoss project lives at <a
href="http://www.jboss.org/">www.JBoss.org</a>.<br>
+ </font>
+ <p><font face="Myriad
Web,Arial">This FAQ has been logically divided into the following sections - an <a
href="#FAQ-SECTION-CREDITS">initial section</a> about this document itself, a catchall
section for <a href="#FAQ-SECTION-GENERAL">general and background information</a>, a
section about the <a href="#FAQ-SECTION-JBOSS">JBoss projects and people</a> and
then three role-based sections. Each of this sections is designed to help you based on
what you do with JBoss - <a href="#FAQ-SECTION-BEANDEV">Bean Developer</a>, <a
href="#FAQ-SECTION-SRVDEV">Server Administrator</a> or <a
href="#FAQ-SECTION-SRVDEV">Container Developer</a>.</font></p>
+ <p><font face="Myriad
Web,Arial">If you are looking for more Technical Information about JBoss then you
should also read the <a href="../documentation/ejb.html">JBoss 2.0 EJB development
guide</a>.</font></p>
+ <div align="right">
+ <div
width="100%">
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="100%"><a href="#FAQ-CREDITS" name="FAQ-SECTION-CREDITS"><font
face="Myriad Web,Arial">FAQ Info and Credits</font></a></td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="4%"></td>
+
<td width="96%">
+
<ul>
+
<li><a href="#FAQ-CREDITS-AUTHORS"><font face="Myriad
Web,Arial">Who is responsible for this FAQ ?</font></a>
+
<li><a href="#FAQ-CREDITS-LATEST"><font face="Myriad
Web,Arial">How do I get the latest version of this FAQ?</font></a>
+
</ul>
+
</td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="100%"><a href="#FAQ-GENERAL" name="FAQ-SECTION-GENERAL"><font
face="Myriad Web,Arial">General Questions</font></a></td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="4%"></td>
+
<td width="96%">
+
<ul>
+
<li><a href="#FAQ-GENERAL-J2EE"><font face="Myriad
Web,Arial">What is Java 2 Enterprise Edition (J2EE) ?</font></a>
+
<li><a href="#FAQ-GENERAL-EJB"><font face="Myriad
Web,Arial">What are Enterprise JavaBeans (EJB) ?</font></a>
+
<li><a href="#FAQ-GENERAL-JAVABEANS"><font face="Myriad
Web,Arial">Are JavaBeans different from Enterprise JavaBeans ?</font></a>
+
<li><a href="#FAQ-GENERAL-JAS"><font face="Myriad
Web,Arial">What is a Java Application Server ?</font></a>
+
<li><a href="#FAQ-GENERAL-DEPLOYMENT"><font face="Myriad
Web,Arial">What does Deployment mean ?</font></a>
+
<li><a href="#FAQ-GENERAL-TRANSMGMT"><font face="Myriad
Web,Arial">What is Transaction Management ?</font></a>
+
<li><a href="#FAQ-GENERAL-PERSISTENCE"><font face="Myriad
Web,Arial">What is Bean / Container Managed Persistence ?</font></a>
+
</ul>
+
</td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="100%"><a href="#FAQ-JBOSS" name="FAQ-SECTION-JBOSS"><font
face="Myriad Web,Arial">JBoss Questions</font></a></td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="4%"></td>
+
<td width="96%">
+
+ <ul>
+ <li><a href="#FAQ-JBOSS-SUMMARY"><font face="Myriad
Web,Arial">What
+ is JBoss ?</font></a>
+ <li><a href="#FAQ-JBOSS-BENEFITS"><font face="Myriad
Web,Arial">What
+ are the benefits of JBoss ?</font></a>
+ <li><a href="#FAQ-JBOSS-COMPLIANCE"><font face="Myriad
Web,Arial">Is
+ JBoss in compliance with the current EJB spec
?</font></a>
+ <li><a href="#FAQ-JBOSS-COMMUNITY"><font face="Myriad
Web,Arial">What
+ is the JBoss community ?</font></a>
+ <li><a href="#FAQ-JBOSS-OBTAIN"><font face="Myriad
Web,Arial">How
+ can I get a copy of JBoss ?</font></a>
+ <li><a href="#FAQ-JBOSS-INSTALL"><font face="Myriad
Web,Arial">How
+ do I install JBoss ?</font></a>
+ <li><a href="#FAQ-JBOSS-SELL"><font face="Myriad
Web,Arial">Can
+ I sell JBoss ?</font></a>
+ <li><a href="#FAQ-JBOSS-DISTRIBUTE"><font face="Myriad
Web,Arial">Can
+ I include JBoss in my distribution ?</font></a>
+ <li><a href="#FAQ-JBOSS-IIOP"><font face="Myriad
Web,Arial">Does
+ JBoss support RMI/IIOP ?</font></a>
+ <li><a href="#FAQ-JBOSS-SOAP"><font face="Myriad
Web,Arial">Does
+ JBoss support SOAP ?</font></a>
+ <li><a href="#FAQ-JBOSS-RMH"><font face="Myriad
Web,Arial">How
+ do I make the RMH samples work ?</font></a>
+ <li><a href="#FAQ-JBOSS-JDKS"><font face="Myriad
Web,Arial">Are
+ there any functional differences between jdk1.2 and
+ jdk1.3 ?</font></a>
+ <li><a href="#FAQ-JBOSS-PERFORMANCE"><font face="Myriad
Web,Arial">Any
+ benchmark or performance metrics available?</font></a>
+ <li><a href="#FAQ-JBOSS-REMOTE"><font face="Myriad
Web,Arial">How
+ do I get my client working from a remote machine
?</font></a>
+ <li><a href="#FAQ-JBOSS-EJX"><font face="Myriad
Web,Arial">EJX
+ won't start, what's wrong ?</font></a>
+ </ul>
+
</td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="100%"><a href="#Definitions" name="FAQ-SECTION-BEANDEV"><font
face="Myriad Web,Arial">'Bean Developer' Questions</font></a></td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="4%"></td>
+
<td width="96%">
+
<ul>
+
<li><a href="#FAQ-BEANDEV-RUNJAR"><font face="Myriad
Web,Arial">How can I run my EJB jar in JBoss ?</font></a>
+
<li><a href="#FAQ-BEANDEV-GUIDE"><font face="Myriad
Web,Arial">Is a programmer guide available for JBoss ?</font></a>
+
<li><a href="#FAQ-BEANDEV-RESOURCEPREFIX"><font face="Myriad
Web,Arial">When do I need to prefix a lookup with "java:comp/env"
?</font></a>
+
<li><a href="#FAQ-BEANDEV-ACCESSBEANS"><font face="Myriad
Web,Arial">How do I access beans in a different jar ?</font></a>
+
</ul>
+
</td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="100%"><a href="#Definitions" name="FAQ-SECTION-ADMIN"><font
face="Myriad Web,Arial">'Server Administrator' Questions</font></a></td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="4%"></td>
+
<td width="96%">
+
<ul>
+
<li><a href="#FAQ-ADMIN-START"><font face="Myriad
Web,Arial">How is JBoss started ?</font></a>
+
<li><a href="#FAQ-ADMIN-SHUTDOWN"><font face="Myriad
Web,Arial">How do I cleanly shutdown JBoss ?</font></a>
+
<li><a href="#FAQ-ADMIN-NTSERVICE"><font face="Myriad
Web,Arial">How can I set up JBoss as a service in Windows NT ?</font></a>
+
<li><a href="#FAQ-ADMIN-BOOT"><font face="Myriad
Web,Arial">How do I configure JBoss to start when the server boots ?</font></a>
+
<li><a href="#FAQ-ADMIN-SECURITY"><font face="Myriad
Web,Arial">How do I configure security with JBoss ?</font></a>
+
<li><a href="#FAQ-ADMIN-DEPLOY"><font face="Myriad
Web,Arial">What tasks must be completed to deploy an EJB using JBoss ?</font></a>
+
<li><a href="#FAQ-ADMIN-UNDEPLOY"><font face="Myriad
Web,Arial">How do I undeploy an application ?</font></a>
+
<li><a href="#FAQ-ADMIN-CLUSTER"><font face="Myriad
Web,Arial">Can I cluster multiple JBoss servers ?</font></a>
+
<li><a href="#FAQ-ADMIN-DATASOURCE"><font face="Myriad
Web,Arial">How do I configure [Database Type] with JBoss ?</font></a>
+
<li><a href="#FAQ-ADMIN-JAWSDTD"><font face="Myriad
Web,Arial">Is a DTD available for jaws.xml ?</font></a>
+
<li><a href="#FAQ-ADMIN-JBOSSDTD"><font face="Myriad
Web,Arial">Is a DTD available for jboss.xml ?</font></a>
+
</ul>
+
</td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="100%">'<a href="#Definitions" name="FAQ-SECTION-SRVDEV"><font
face="Myriad Web,Arial">Container Developer' Questions</font></a></td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="4%"></td>
+
<td width="96%">
+
<ul>
+
<li><a href="#FAQ-CONTAINER-SPECS"><font face="Myriad
Web,Arial">Where can I find technical specs for the JBoss server ?</font></a>
+
<li><a href="#FAQ-CONTAINER-CONTRIBUTE"><font face="Myriad
Web,Arial">How can I contribute to JBoss ?</font></a>
+
<li><a href="#FAQ-CONTAINER-HELP"><font face="Myriad
Web,Arial">What help exists to help me learn about the JBoss source ?</font></a>
+
</ul>
+
</td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="100%"><a href="#FAQ-HISTORY"><font face="Myriad Web,Arial">FAQ
Revision History</font></a></td>
+
</tr>
+
</table>
+ <p></p>
+ <p>
+ <table
border="0" width="95%">
+
<tr>
+
<td width="4%"></td>
+
<td width="96%"> </td>
+
</tr>
+
</table>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="newsheader"><b><a
name="FAQ-CREDITS"></a><font color="white" face="Myriad Web,Arial" size="3">FAQ Info
and Credits</font></b></td>
+ </tr>
+ <tr>
+ <td class="newsbody">
+ <h3><a
name="FAQ-CREDITS-AUTHORS"></a><font face="Myriad Web,Arial">Who is responsible for
this FAQ ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">The first version of the JBoss FAQ
+ was created by <a href="mailto:[EMAIL PROTECTED]">Kunle
+ Odutola</a> in March 2000. The second version of the FAQ was a
rewrite
+ by <a href="mailto:[EMAIL PROTECTED]">Jeremiah Johnson</a> in August
+ 2000 with maintenance by <a
href="mailto:[EMAIL PROTECTED]">Kunle
+ Odutola</a>. The current version is maintained by <a
href="mailto:[EMAIL PROTECTED]">Dewayne
+ McNair</a>.</font></p>
+ <p><font face="Myriad Web,Arial">Most of the wisdom contained in the
+ answers presented here however comes from the collective insights
+ and diligence of the many others who inhabit the JBoss mailing
list(s)
+ and the EJB world-at-large. Particular mention goes to the following
+ people from the JBoss mailing list:</font></p>
+ <ul>
+ <li><font
face="Myriad Web,Arial">Rickard </font><font size="2" face="Myriad
Web,Arial">Ö</font><font face="Myriad Web,Arial">berg</font>
+ <li><font
face="Myriad Web,Arial">Marc Fleury</font>
+ <li><font
face="Myriad Web,Arial">Dan O'Connor</font>
+ <li><font
face="Myriad Web,Arial">Clint Dalton</font>
+ <li><font
face="Myriad Web,Arial">Stephan Schmidt</font>
+ <li><font
face="Myriad Web,Arial">Micheal Jordan</font>
+ <li><font
face="Myriad Web,Arial">Kunle Odutola</font>
+ <li><font
face="Myriad Web,Arial">Jeremiah Johnson</font>
+ </ul>
+ <p><font face="Myriad
Web,Arial">If you see your genius represented anywhere in this FAQ without due
attribution to you and you would like it fixed, drop me a line and I'll put it
in.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#top_of_faq">FAQ
+ Contents</a></font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-CREDITS-LATEST"></a>Where can I get the latest version of this
FAQ?</font></h3>
+ <ul>
+ <li><font
face="Myriad Web,Arial">From the JBoss project's homepage at <a
href="http://www.ejboss.org/">www.JBoss.org</a>. There is a link to a release version
of this FAQ that in sync with the latest release of JBoss.</font>
+ <li><font
face="Myriad Web,Arial">From the JBoss binary distribution archives. These are
downloadable from a link on <a href="http://www.ejboss.org/">www.JBoss.org</a> and,
they contain a copy of this FAQ that is appropriate to the version of JBoss in the
archive.</font>
+ <li><font
face="Myriad Web,Arial">From the JBoss CVS repository. The version in CVS is often
under development and is more appropriate for developers and seasoned JBoss pros. The
other versions are derived from the CVS FAQ.</font>
+ </ul>
+ <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><a name="FAQ-GENERAL"></a><b>General
Questions</b></font></td>
+ </tr>
+ <tr>
+ <td class="newsbody">
+ <h3><a
name="FAQ-GENERAL-J2EE"></a><font face="Myriad Web,Arial">What is Java 2 Enterprise
Edition (J2EE) ?</font></h3>
+ <p><font face="Myriad
Web,Arial">The Java 2 Platform Enterprise Edition (J2EE) is the platform for
developing, deploying and managing n-tiered information systems using Java
technologies. The platform encourages the development of enterprise systems with the
ability to run <i>anywhere</i> across a wide range of operating systems. J2EE extends
the Java 2 Platform to cater for the server-side processing needs of the enterprise
with key technologies including the following:</font></p>
+ <ul>
+ <li><font
face="Myriad Web,Arial">Enterprise JavaBeans (EJB)</font>
+ <li><font
face="Myriad Web,Arial">Java Naming and Directory Interface (JNDI)</font>
+ <li><font
face="Myriad Web,Arial">JDBC data access API</font>
+ <li><font
face="Myriad Web,Arial">Java Servlets</font>
+ <li><font
face="Myriad Web,Arial">JavaServer Pages (JSP)</font>
+ <li><font
face="Myriad Web,Arial">Java Transaction API (JTA)</font>
+ <li><font
face="Myriad Web,Arial">Java Transaction Service (JTS)</font>
+ <li><font
face="Myriad Web,Arial">Java Messaging Service (JMS)</font>
+ <li><font
face="Myriad Web,Arial">Remote Method Invocation (RMI)</font>
+ <li><font
face="Myriad Web,Arial">CORBA</font>
+ </ul>
+ <p><font face="Myriad
Web,Arial">Further information about Java 2 Platform Enterprise Edition (J2EE) is
available on the <a href="http://java.sun.com/j2ee/">J2EE home page</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#top_of_faq">FAQ
+ Contents</a></font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-EJB"></a>What is Enterprise JavaBeans (EJB)
?</font></h3>
+ <p><font face="Myriad
Web,Arial">Enterprise JavaBeans (EJB) is a <a
href="http://java.sun.com/products/ejb/docs.html">specification and architecture</a>
for the development and deployment of component-based, distributed business
applications on the Java platform. It is a significant part of Java 2 Enterprise
Edition (J2EE) - a unified architecture and platform for delivering the benefits of
the Java platform to the server-based computing environment.</font></p>
+ <p><font face="Myriad
Web,Arial">A business component that is developed for the Enterprise JavaBean
architecture is also confusingly called an Enterprise JavaBean. These components may
be written once, and then deployed on any server platform that supports the Enterprise
JavaBeans specification. A key goal of the EJB architecture is to make the job of
developing EJB components and the client applications that access them very simple
indeed. Much of this is achieved by defining an architectural entity called a
<i>container</i> - an EJB container - that acts as a buffer between EJB components and
their client as well as between EJB components and the very complex reality of
developing scalable, distributed systems. An EJB container is itself contained within
an <i>EJB server</i>.</font></p>
+ <p><font face="Myriad
Web,Arial">Further information about Enterprise JavaBeans is available on the <a
href="http://java.sun.com/products/ejb/index.html">Enterprise JavaBeans home
page</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#top_of_faq">FAQ
+ Contents</a></font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-JAVABEANS"></a>Are JavaBeans different from Enterprise
JavaBeans ?</font></h3>
+ <p><font face="Myriad
Web,Arial">Yes, JavaBeans are different from Enterprise JavaBeans (EJBs). Both
JavaBeans and EJBs are units of packaged functionality but they are designed to
function in very specific and different environments. JavaBeans facilitate black box
reuse of visual and non-visual components within JavaBean-aware IDEs. EJBs on the
other hand are non-visual components that can only be deployed in an EJB-compliant
Java application server. </font></p>
+ <p><font face="Myriad
Web,Arial">JavaBeans are basically just classes executed in the JVM, while EJBs are
managed objects that are deployed within an EJB application server. JavaBeans may be
driven by events, but EJBs are currently just driven by remote method calls.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-JAS"></a>What is a Java Application Server
?</font></h3>
+ <p><font face="Myriad
Web,Arial">In the current context, a Java application server is a sophisticated
software system that provide a run-time environment for executing components written
in Java. The widespread adoption of the EJB standard from the J2EE specification has
ensured that a well written component can be without additional development work
deployed in almost all Java application servers.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-DEPLOYMENT"></a>What does Deployment mean ?</font></h3>
+ <p><font face="Myriad
Web,Arial">Deployment is the act of preparing and sending the bean(s) to the
application server to become available as application components. In preparation for
deployment, any resources that the bean provider has used in the code must be
associated with real resources, transactional attirbutes may be specified, security
attributes may be set, and any other container-specific settings will all be specified
in deployment descriptors. The compiled code and the deployment descriptors will all
be jarred together into an application jar and then the jar will be placed in the
necessary location for the application server to use. The final act of deployment is
the application server parsing the deployment descriptors, preparing the container
environment, and then binding the bean names to the naming service to make them
available for calls.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-TRANSMGMT"></a>What is Transaction Management
?</font></h3>
+
+ <p><font face="Myriad Web,Arial">A transaction is an atomic and
reliable
+ unit of program execution. Transactions systems are invaluable in
+ any system that support concurrent processing. For example, if
multiple
+ clients are using the same database table concurrently, it's possible
+ that the database write operations they perform could leave the
+ table in an inconsistent state. With transactional support, each
+ user see a transaction as an operation that either completes
successfully
+ or not at all. The possibility of inconsistencies arising as result
+ of their interleaved database operations is removed. </font></p>
+ <p><font face="Myriad
Web,Arial">The Enterprise JavaBeans architecture provides automatic support for
distributed transactions in component based applications. Such distributed
transactions can atomically update data in multiple databases. The burden of managing
transactions is thus shifted from the bean developer to the EJB container and/or
server.</font></p>
+ <p><font face="Myriad
Web,Arial">Read chapter 11 of the EJB 1.1 spec if you are interested in knowing more
about Transaction Management.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-GENERAL-PERSISTENCE"></a>What is Bean / Container Managed
Persistence ?</font></h3>
+ <p><font face="Myriad
Web,Arial">With respect to Enterprise JavaBeans (EJBs), persistence is a term that
describes the process whereby the the state of an active (stateful?) EJB is stored
(usually to a database) in such a way that the EJB can be reactivated later. It is
serialization for EJBs if you like.</font></p>
+ <p><font face="Myriad
Web,Arial">There are two flavours of persistence in EJB - Bean-Manage Persistence
(BMP) and Container-Managed Persistence (CMP). The main difference between the two
flavours is who is responsible for <i>actually</i> persisting the EJB. In BMP the bean
developer is responsible for writing the code that persists the beans state (maybe
using JDBC?) while in CMP, the container is reponsible. In CMP a bean developer might
not even <i>know</i> what object-relational database persistence is let alone how it
works?. Pretty neat.</font></p>
+ <p><font face="Myriad
Web,Arial">A relevant excerpt from the <a
href="http://java.sun.com/products/ejb/docs.html">EJB 1.1. specification</a> itself,
on page 100:</font></p>
+ <p><font face="Myriad
Web,Arial">"The entity bean component protocol allows the entity Bean Provider
either to implement the entity bean's persistence directly in the entity bean class or
in one or more helper classes provided with the entity bean class (bean-managed
persistence), or to delegate the entity bean's persistence to the Container Provider
tools used at deployment time (container-managed persistence)."<br>
+ </font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font></p></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><a name="FAQ-JBOSS"></a><b>JBoss
Questions</b></font></td>
+ </tr>
+ <tr>
+ <td class="newsbody">
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-SUMMARY"></a>What is JBoss ?</font></h3>
+ <p><font face="Myriad
Web,Arial">Basically, JBoss is an application server written in Java that can host
business components developed in Java. The interface and architecture of the JBoss
application server, the Java business components that can be hosted inside JBoss and
various protocols by which a client application (or other business components) can
interact with the business components is defined by the <a
href="http://java.sun.com/products/ejb/docs.html">Enterprise JavaBeans
specification</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">JBoss 2 is designed to be an EJB
+ v1.1 container and server. There are efforts underway currently
+ to extend the support to EJB v2.0 but the work isn't expected to
+ begin before Q4 2000. The JBoss server is developed in the Open
+ Source tradition by volunteers and sponsors using 100% Pure
Java. </font></p>
+ <p><font face="Myriad
Web,Arial">We are working very hard to ensure that JBoss rightfully becomes <i>the</i>
premier EJB server for the Java 2 Enterprise Edition.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#top_of_faq">FAQ
+ Contents</a></font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-BENEFITS"></a>What are the benefits of JBoss
?</font></h3>
+ <p><font face="Myriad
Web,Arial">Lots, here is an initial list:</font></p>
+ <ul>
+ <li><font
face="Myriad Web,Arial">dynamic "hot" deploy</font>
+ <li><font
face="Myriad Web,Arial">proxy based EJBs</font>
+ <li><font
face="Myriad Web,Arial">configurable container</font>
+ <li><font
face="Myriad Web,Arial">small footprint</font>
+ <li><font
face="Myriad Web,Arial">JMX based architecture</font>
+ <li><font
face="Myriad Web,Arial">"full" J2EE implementation / integration</font>
+ <li><font
face="Myriad Web,Arial">large, active developer and user community</font>
+ <li><font
face="Myriad Web,Arial">free speech _and_ free beer</font>
+ </ul>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-COMPLIANCE"></a>Is JBoss in compliance with the current
EJB spec ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">Yes. Well mostly. JBoss
+ 2 is <a
href="http://www.jboss.org/newsite/business/jboss-test.html">being
+ continuously tested</a> for compliance with the <a
href="http://java.sun.com/products/ejb/docs.html">EJB
+ 1.1 specification</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-COMMUNITY"></a>What is the JBoss community ?</font></h3>
+ <p><font face="Myriad
Web,Arial">The JBoss community is a pool of contributors working on <b>joint J2EE
projects</b> much like the "Apache group" of Apache Server fame. JBoss
people come from all over the world... 'Silicon Valley' California, London and the
rest of the UK, France, Sweden, Siberia, Hong Kong, Singapore, Australia and there's
even a few from the 'Tropical Antarctic' (otherwise known as New Zealand).</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-OBTAIN"></a>How can I get a copy of JBoss ?</font></h3>
+ <ul>
+
+ <li><font face="Myriad Web,Arial">Binary: From the
+ JBoss project's <a
href="http://www.jboss.org/">homepage</a>,
+ there is a link to JBoss <a
href="binary.htm">binary
+ distributions</a> for JDK 1.2.2 and JDK 1.3
JVMs.</font>
+ <li><font face="Myriad Web,Arial">Source: From the
JBoss CVS repository. The JBoss source code is in CVS and this route is more
appropriate for developers and seasoned JBoss pros. Please note that you will need to
build this version before it can be used.</font>
+ <p><font
face="Myriad Web,Arial"><br>
+ <b>CVS
Settings (permits read-only access only)</b><br>
+ <br>
+ <u>GNU/Linux
users and WinCVS users</u></font></p>
+ <div
align="right">
+
<p><font face="Myriad Web,Arial">
+ <table
border="0" width="90%">
+
<tr>
+
<td width="140"><code>CVSROOT</code></td>
+
<td><code>:pserver:[EMAIL PROTECTED]:/products/cvs/ejboss</code></td>
+
</tr>
+
<tr>
+
<td width="140"><code>password</code></td>
+
<td><code>anon</code></td>
+
</tr>
+
<tr>
+
<td width="140"><code>module</code></td>
+
+ <td><code>jboss (jbossmq, zoap, zola,
+ etc) </code></td>
+
</tr>
+
</table>
+
</font><p></p>
+ </div>
+ <p><font
face="Myriad Web,Arial"><u>jCVS users</u><br>
+ jCVS does
things a little differently and breaks the pserver string above into the following<br>
+ components on
the checkout page:</font></p>
+ <div
align="right">
+
<p><font face="Myriad Web,Arial">
+ <table
border="0" width="90%">
+
<tr>
+
<td width="140"><code>cvs module</code></td>
+
<td><code>jboss <i>or</i> zola <i>or</i> spyderMQ</code></td>
+
</tr>
+
<tr>
+
<td width="140"><code>cvs server</code></td>
+
<td><code>cvs.working-dogs.com</code></td>
+
</tr>
+
<tr>
+
<td width="140"><code>cvs repository</code></td>
+
<td><code>/products/cvs/ejboss</code></td>
+
</tr>
+
<tr>
+
<td width="140"><code>user</code></td>
+
<td><code>anon</code></td>
+
</tr>
+
<tr>
+
<td width="140"><code>password</code></td>
+
<td><code>anon</code></td>
+
</tr>
+
</table>
+
</font><p></p>
+ </ul>
+ </div>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-INSTALL"></a>How do I install JBoss ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">If you download the
binary,
+ you can use these <a
href="http://www.jboss.org/newsite/documentation/HTML/ch01s05.html">instructions</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">There is also detailed
+ information available for installing JBoss on <a
href="http://www.jboss.org/newsite/documentation/jboss_linux_trail_index.html">
+ Linux</a> and <a
href="http://www.jboss.org/newsite/documentation/jboss_win32_trail_index.html">
+ Windows</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-SELL"></a>Can I sell JBoss ?</font></h3>
+ <p><font face="Myriad
Web,Arial">Yes, and many will. Many will bundle it with J2EE applications for
example.</font></p>
+ <p><font face="Myriad
Web,Arial">If you want to sell *only* JBoss, then you need to ask "what is the
value add"? Just putting it on a CD and selling may not get you many customers if
they can download it from the net just as easy.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-DISTRIBUTE"></a>Can I include JBoss in my distribution
?</font></h3>
+ <p><font face="Myriad
Web,Arial">There is quite a <a
href="http://www.mail-archive.com/[email protected]/msg00262.html">long
post</a> discussing this question. In short, if you use a third party plug-in, then
you must adhere to the license of that third party plug-in <i>in addition</i> to the
JBoss license. For JBoss stuff, any of your classes that <b>import</b> JBoss classes
directly must be GPL.</font></p>
+ <p><font face="Myriad
Web,Arial">Please note that standard Enterprise JavaBeans do not import JBoss code.
They access JBoss's functionality indirectly via the J2EE APIs. Hence they do
<i>not</i> import JBoss classes and do not have to be GPL'ed.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-IIOP"></a>Does JBoss support RMI/IIOP ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">No. We do not support
+ RMI/IIOP or OTS.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-SOAP"></a>Does JBoss support SOAP ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">Yes, look at the <a
href="jboss-zoap.html">ZOAP
+ module</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-RMH"></a>How do I make the RMH samples work ?</font></h3>
+
+ <p><a href="mailto:[EMAIL PROTECTED]"><font face="Myriad
Web,Arial">Ken
+ Jenks</font></a><font face="Myriad Web,Arial"> has
+ gotten the examples to work, so take a look at <a
href="http://abiblion.com/products-jboss.html" target="_new">his
+ work</a>.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-JDKS"></a>Are there any functional differences between
jdk1.2 and jdk1.3 ?</font></h3>
+ <p><font face="Myriad
Web,Arial">None have been identified.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-PERFORMANCE"></a>Any benchmark or performance metrics
available ?</font></h3>
+ <p><font face="Myriad
Web,Arial">Not yet.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-REMOTE"></a>How do I get my client working from a remote
machine ?</font></h3>
+ <p><font face="Myriad
Web,Arial">This is a very common question and there are a couple options. The key is
to provide the correct server into the environment so that InitialContext performs its
lookup on the correct machine. One option is to set a couple system properties with
the correct information, another is to hard-code the properties, and a third option is
to use a standard jndi.properties file. Forget the hard-code option, here are the
others:</font></p>
+
+ <ul>
+ <li><font face="Myriad Web,Arial">System Properties
+ Specify java.naming.factory.initial and
java.naming.provider.url
+ when you start your client. </font>
+ <pre><font face="Myriad Web,Arial"><code> java
-cp $CLASSPATH
+ -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
</code></font>
+<code> -Djava.naming.provider.url=remote.host.name <br>
org.opengroupware.logic.test.AuthenticateTest</code>
+</pre>
+ <li><font face="Myriad Web,Arial">jndi.properties
+ Create a file called jndi.properties with the
+ following two lines (and put the jndi.properties
+ file into the classpath of the client):</font>
+ <pre><font face="Myriad Web,Arial"><code>
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory</code></font>
+ <font face="Myriad Web,Arial"><code>
java.naming.provider.url=remote.host.name</code></font>
+ <font face="Myriad Web,Arial"><code>
</code></font></pre>
+ </ul>
+
+
+<p><font face="Myriad Web,Arial">For both of the options above, the instantiation
of the InitialContext with use the default constructor: </font></p>
+ <pre><font
face="Myriad Web,Arial"><code> Object reference = new InitialContext().lookup(
"encryption.NoCrypt" );</code></font></pre>
+ <p><font face="Myriad
Web,Arial">Obviously, you need to narrow that object reference - this is just an
example of getting a reference from JNDI.</font></p>
+ <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
+ <p><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-JBOSS-EJX"></a>EJX won't start, what's wrong ?</font></h3>
+ <p><font face="Myriad
Web,Arial">The most common problem here is not running EJX from the bin
directory.</font></p>
+ <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-RUNJAR"></a>How can I run my EJB jar in JBoss
?</font></h3>
+ <p><font face="Myriad
Web,Arial">Once you have deployed your bean(s), they are ready to be called by clients
or other beans.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-GUIDE"></a>Is a programmer's guide available for JBoss
?</font></h3>
+
+ <p><font face="Myriad Web,Arial">Yes, take a look at the
+ <a href="/newsite/documentation/HTML/index.html">JBoss
+ 2.0</a> documentation.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-RESOURCEPREFIX"></a>When do I need to prefix a lookup
with "java:comp/env" ?</font></h3>
+ <p><font face="Myriad
Web,Arial">java:comp/env is used to prefix a resource that the bean is looking up in
the JNDI naming context. Looking up other bean or resources are examples where you
would prefix the JNDI name that the resource is bound to with java:comp/env</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-BEANDEV-ACCESSBEANS"></a>How do I access beans in a different
jar ?</font></h3>
+ <p><font face="Myriad
Web,Arial">Basically, accessing or referencing beans in a different jar should be the
same as if the beans were in the same jar. Configure EJB references as described in
section 14.3 of EJB 1.1 Spec and use JNDI to find the bean as any other
resource.</font></p>
+ <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><b><a name="FAQ-ADMIN"></a>Server
Administrator Questions</b></font></td>
+ </tr>
+ <tr>
+ <td class="newsbody"><h3><font
face="Myriad Web,Arial"><a name="FAQ-ADMIN-START"></a>How
+ is JBoss started ?</font></h3>
+ <p><font face="Myriad
Web,Arial">Run the appropriate run script in the bin directory. If your environment is
setup correctly, you can start JBoss with the command </font></p>
+
+ <pre><font face="Myriad Web,Arial"><code> java -jar
run.jar</code></font></pre>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-SHUTDOWN"></a>How do I cleanly shutdown JBoss
?</font></h3>
+ <p><font face="Myriad
Web,Arial">^C and kill <pid> both cause a clean shutdown.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-NTSERVICE"></a>How can I set up JBoss as a service in
Windows NT ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">There are several
alternatives
+ to starting JBoss as an NT service.</font></p>
+ <p>
+
+ <ul>
+ <li><font face="Myriad Web,Arial"> The <i>contrib</i>
+ module in CVS has an ntservice module that may
+ be used</font>
+ <li><font face="Myriad Web,Arial"><a
href="http://www.kcmultimedia.com/javaserv/">Running
+ a Java 2 Application as an NT Service</a></font>
+ <li><font face="Myriad Web,Arial"><a
href="http://www.eworksmart.com/JNT/">JNT for
+ Windows NT/2000</a></font>
+ </ul>
+ <p><font face="Myriad Web,Arial">Back
to <a href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-BOOT"></a>How do I configure JBoss to start when the
server boots ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">For Windows NT see the
+ answer to <a href="#FAQ-ADMIN-NTSERVICE">How can I
+ set up JBoss as a service in Windows NT ?</a>. For
+ Unix based systems, see the following message from
+ the mail archives: <a
href="http://www.mail-archive.com/[email protected]/msg10908.html">Starting
+ JBoss as a service on Linux </a></font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-SECURITY"></a>How do I configure security with JBoss
?</font></h3>
+
+ <p><font face="Myriad Web,Arial">Please have a look at
+ <a
href="/newsite/documentation/HTML/ch07s68.html">Security</a>
+ topic in the JBoss manual.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-DEPLOY"></a>What tasks must be completed to deploy an
EJB using JBoss ?</font></h3>
+ <ul>
+ <li><font
face="Myriad Web,Arial">Compile the bean classes and interfaces. </font>
+ <li><font
face="Myriad Web,Arial">Create an ejb-jar.xml file by hand or using EJX. </font>
+ <li><font
face="Myriad Web,Arial">If using Entity Beans with CMP, then use EJX to create a
jaws.xml file. </font>
+ <li><font
face="Myriad Web,Arial">If using resources, custom containers, or any other JBoss
specific configurations, then use EJX to create a jboss.xml file. </font>
+ <li><font
face="Myriad Web,Arial">Finally, jar the .xml files (note that they must be in
META-INF parent directory) and the .class files for the bean into a jar in the deploy
directory. </font>
+ <li><font
face="Myriad Web,Arial">Classes that the bean imports may be included in the deployed
jar, or they can be put into the lib/ext directory (via a jar).</font>
+ </ul>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-UNDEPLOY"></a>How do I undeploy an application
?</font></h3>
+ <p><font face="Myriad
Web,Arial">Removing the .jar file from the deploy directory will cause the file to be
undeployed.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-CLUSTER"></a>Can I cluster multiple JBoss servers
?</font></h3>
+ <p><font face="Myriad
Web,Arial">Not yet. Clustering is still under development with JBoss at the present.
Please have a look at <a
href="http://www.jboss.org/project_game_over.htm#Clustering">this pGO squad's
mission</a> for the current status.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-DATASOURCE"></a>How do I configure [Database Type] with
JBoss ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">Refer to the <a
href="/newsite/documentation/HTML/index.html">Manual</a>,
+ which has <a
href="/newsite/documentation/HTML/ch03.html">examples</a>
+ for many common databases and <a
href="/newsite/documentation/HTML/ch03s05.html">procedures</a>
+ for the rest.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-JAWSDTD"></a>Is a DTD available for jaws.xml
?</font></h3>
+
+ <p><a href="/documentation/jaws.dtd"><font face="Myriad
Web,Arial">Yes</font></a><font face="Myriad Web,Arial">.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-ADMIN-JBOSSDTD"></a>Is a DTD available for jboss.xml
?</font></h3>
+
+ <p><a href="/documentation/jboss.dtd"><font face="Myriad
Web,Arial">Yes</font></a><font face="Myriad Web,Arial">.</font></p>
+ <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></p>
+ <p><font face="Myriad
Web,Arial"> </font></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><b><a
name="FAQ-CONTAINER"></a>Container Developer Questions</b></font></td>
+ </tr>
+ <tr>
+ <td class="newsbody">
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-CONTAINER-SPECS"></a>Where can I find technical specs for the
JBoss server ?</font></h3>
+
+ <p><font face="Myriad Web,Arial">The best source for
technical
+ information is in the JBoss <a
href="http://www.jboss.org/newsite/documentation/HTML/index.html">manual</a>.
+ Specifically, the sections on <a
href="/newsite/documentation/HTML/ch02.html">Basic
+ Configuration</a> and <a
href="/newsite/documentation/HTML/ch07.html">Container
+ Architecture</a>.</font></p>
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-CONTAINER-CONTRIBUTE"></a>How can I contribute to JBoss
?</font></h3>
+ <p><font face="Myriad
Web,Arial">Unless you have your own ideas, browse through the project <a
href="http://www.jboss.org/project_game_over.htm">TODO list</a> to find something that
interests you and then send mail to <a
href="mailto:[EMAIL PROTECTED]?subject=%22I%20want%20to%20help%20JBoss!%22">the
board</a> indicating your interests. Even if you have your own ideas, it helps to get
involved in the mailing-list to identify areas of need and avoid duplicated (i.e.
wasted) effort.</font></p>
+
+ <p><font face="Myriad Web,Arial">Back to <a
href="#FAQ_CONTENTS">FAQ
+ Contents</a></font><font face="Myriad
Web,Arial"> </font></p>
+ <h3><font face="Myriad
Web,Arial"><a name="FAQ-CONTAINER-HELP"></a>What help exists to help me learn about
the JBoss source ?</font></h3>
+ <p><font face="Myriad
Web,Arial">The <a href="#FAQ-CONTAINER-SPECS">technical information</a> listed above
is a great place to start. Don't overlook the mailing list archives for the various
components. As you get into the code, the jboss-dev mailing list is the best place to
direct your questions. The javadocs come with the binary distribution (in the docs
directory), or you can create the javadocs from the source with 'build
javadocs'.</font></p>
+ <p><font face="Myriad
Web,Arial">Back to <a href="#FAQ_CONTENTS">FAQ Contents</a></font></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><font
color="white" face="Myriad Web,Arial" size="3"><b><a name="FAQ-HISTORY"></a>Revision
History</b></font></td>
+ </tr>
+ <tr>
+ <td class="newsbody">
+
+ <table border="0" width="90%" align="center">
+ <tr>
+ <td width="15%" style="background-color:
#808080"><font face="Myriad Web,Arial"><b> Date</b></font></td>
+ <td width="27%" style="background-color:
#808080"><font face="Myriad Web,Arial"><b> Author(s)</b></font></td>
+ <td width="58%" style="background-color:
#808080"><font face="Myriad Web,Arial"><b>Comments</b></font></td>
+ </tr>
+ <tr>
+ <td width="15%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial"> 26-Mar-2000</font></td>
+ <td width="27%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial"> <a
href="mailto:[EMAIL PROTECTED]">Kunle
+ Odutola</a> </font></td>
+ <td width="58%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial">Created
+ first version of FAQ</font></td>
+ </tr>
+ <tr>
+ <td width="15%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial">23-Aug-2000</font></td>
+ <td width="27%" style="background-color:
#C0C0C0"><a href="mailto:[EMAIL PROTECTED]"><font face="Myriad Web,Arial">Jeremiah
+ Johnson</font></a></td>
+ <td width="58%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial">Added
+ questions and answers; reformatted to make
+ simpler to add via text editor; removed side
+ boxes.</font></td>
+ </tr>
+ <tr>
+ <td width="15%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial">24-Aug-2000</font></td>
+ <td width="27%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial"><a
href="mailto:[EMAIL PROTECTED]">Kunle
+ Odutola</a> </font></td>
+ <td width="58%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial">Updated
+ answers in FAQ.</font></td>
+ </tr>
+ <tr>
+ <td width="15%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial">13-Feb-2001</font></td>
+ <td width="27%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial"><a href="mailto:[EMAIL PROTECTED]">Dewayne
+ McNair</a></font></td>
+ <td width="58%" style="background-color:
#C0C0C0"><font face="Myriad Web,Arial">General
+ cleanup.</font></td>
+ </tr>
+ </table>
+ <p><font face="Myriad
Web,Arial">Back to <a href="#top_of_faq">FAQ Contents</a></font></p>
+ <p> </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td width="600"></td>
+ </tr>
+ </table>
+ </body>
+</html>
\ No newline at end of file