On Thu, 1970-01-01 at 08:59, Han Ming Ong wrote:
> Interestingly, unless I'm reading it wrongly, 
> http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd shows that 
> <resource-manager>  doesn't have any attributes at all.

apart from res-name and res-jndi-name ?

Well it can be used afaik to specify additionals (even though they arent
in the dtd !). For example, you can use it to specify the mail session
as follows

<resource-managers>
    <resource-manager res-class="javax.mail.Session">
        <res-name>TheMailSession</res-name>
        <res-jndi-name>java:Mail</res-jndi-name>
        <mail-configuration>
            <name>your_name</name>
            <mail-from>your_email</mail-from>
            <mail-host>localhost</mail-host>
        </mail-configuration>
    </resource-manager>
</resource-managers>

and this works in JBoss 3.*


-- 
Andy


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to