[jboss-user] [JCA] - How do I specify JNDI name for a .rar in an .ear?
Laird Nelson
do-not-reply at jboss.com
Mon Jun 21 11:21:08 EDT 2010
Laird Nelson [http://community.jboss.org/people/ljnelson] created the discussion
"How do I specify JNDI name for a .rar in an .ear?"
To view the discussion, visit: http://community.jboss.org/message/548987#548987
--------------------------------------------------------------
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
[http://community.jboss.org/message/548987#548987]
Start a new discussion in JCA at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100621/373a0e5e/attachment.html
More information about the jboss-user
mailing list