I have a File Adapter, I have to refer it from a session bean. 

 In case of Sun One it has a provision in the rar file which can give its JNDI 
name (sun-ra.xml), which can give the JNDI name reference of the rar deployed, 
with the tag 

 <sun-connector xmlns="http://java.sun.com/xml/ns/j2ee";>

<resource-adapter jndi-name="myrar" idle-timeout-in-seconds="1000" 
max-pool-size="32" max-wait-time-in-millis="10000" steady-pool-size="4" >
</resource-adapter>

</sun-connector>

  This can be refered in the session Bean with the following tag in the 
sun-ejb-jar.xml like this:

  <resource-ref>
     
<res-ref-name>FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2ConnectionFactory</res-ref-name>
<jndi-name>FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF</jndi-name>
   </resource-ref>

  If I have to refer the rar in the jboss.xml of session bean how should I do 
that? 

   How is the JNDI naming for the rar deplyed taken in case of JBOSS.

   Thanks in Advance.   


 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858850#3858850

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858850


-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to