[ http://thecla.homeftp.net:8380/jira/browse/BPM-135?page=history ]

Wouter Zoons updated BPM-135:
-----------------------------

    Environment:   (was: AndroMDA RC1)
        Version: 3.0 M3
                     (was: 3.0 RC1)

> Generate resource reference tags in WEB-INF/web.xml
> ---------------------------------------------------
>
>          Key: BPM-135
>          URL: http://thecla.homeftp.net:8380/jira/browse/BPM-135
>      Project: Bpm4Struts Cartridge
>         Type: Improvement
>     Versions: 3.0 M3
>     Reporter: Johnny Macchione
>     Assignee: Wouter Zoons
>     Priority: Minor
>      Fix For: 3.0 RC1

>
>
> The JNDI names for resources used by code in the WAR should be declared in 
> the web deployment descriptor (WEB-INF/web.xml) so that they can be mapped to 
> the JNDI names for the required resources available in an application server 
> or web container. 
> For example, when using Spring without EJBs, and accessing a 
> javax.sql.DataSource via JNDI, the web.xml file should contain the following 
> resource reference (excerpt from Tomcat documentation - JNDI Resources 
> HOW-TO): 
> <resource-ref>
>   <description>
>     Resource reference to a factory for java.sql.Connection
>     instances that may be used for talking to a particular
>     database that is configured in the server.xml file.
>   </description>
>   <res-ref-name>
>     jdbc/EmployeeDB
>   </res-ref-name>
>   <res-type>
>     javax.sql.DataSource
>   </res-type>
>   <res-auth>
>     Container
>   </res-auth>
> </resource-ref>
> Note: 
> the same applies to any resource accessible via JNDI: JavaMail sessions, 
> EJBs, ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://thecla.homeftp.net:8380/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to