Author: jmesnil
Date: 2010-05-03 04:35:24 -0400 (Mon, 03 May 2010)
New Revision: 9193
Modified:
trunk/docs/user-manual/en/appserver-integration.xml
Log:
https://jira.jboss.org/jira/browse/HORNETQ-378: Add a note to the docs about different JCA
RA adaptor name in AS 4.x
* updated doc to clarify configuration of resource adapter in JBoss AS 4.x, 5.x and 6.x
Modified: trunk/docs/user-manual/en/appserver-integration.xml
===================================================================
--- trunk/docs/user-manual/en/appserver-integration.xml 2010-05-02 12:24:39 UTC (rev
9192)
+++ trunk/docs/user-manual/en/appserver-integration.xml 2010-05-03 08:35:24 UTC (rev
9193)
@@ -53,9 +53,11 @@
preconfigured in the usual way using the HornetQ configuration
files.</para>
<para>The <literal>ResourceAdapter</literal> annotation is used
to specify which adaptor
should be used. To use this you will need to import <literal
- >org.jboss.ejb3.annotation.ResourceAdapter</literal> which can
be found in the
+ >org.jboss.ejb3.annotation.ResourceAdapter</literal> for JBoss
AS 5.X and later version which can be found in the
<literal>jboss-ejb3-ext-api.jar</literal> which can be found
in the JBoss
- repository. Alternatively you can add use a deployment descriptor and add
something like
+ repository. For JBoss AS 4.X, the annotation to use is
<literal>org.jboss.annotation.ejb.ResourceAdaptor</literal>.</para>
+ <para>
+ Alternatively you can add use a deployment descriptor and add something
like
the following to <literal
jboss.xml</literal><programlisting><message-driven>
<ejb-name>ExampleMDB</ejb-name>
@@ -68,7 +70,7 @@
element.</para>
<note>
<para>HornetQ is the default JMS provider for JBoss AS 6. Starting with
this AS version, HornetQ resource
- adapter is named <literal>jms-ra.rar</literal>.</para>
+ adapter is named <literal>jms-ra.rar</literal> and you no
longer need to annotate the MDB for the resource adapter name.</para>
</note>
<para>All the examples shipped with the HornetQ distribution use the
annotation.</para>
<section>