Community

How do I specify JNDI name for a .rar in an .ear?

created by Laird Nelson in JCA - View the full discussion

I have a resource adapter that is packaged as part of an .ear file.

 

Neither the .ear file nor the .rar file within it are supposed to be application server specific.

 

I have an ejb in a jar in the same .ear that declares a @Resource field.  My intention is to have the user connection factory injected into that @Resource field.

 

Currently, JBoss 6 M3 requires a mapped-name attribute on that @Resource annotation.

 

What value should I put there?

 

That of course implies the question: how do I set what name a resource adapter is available under?

 

Thanks,

Laird

Reply to this message by going to Community

Start a new discussion in JCA at Community