The following should be treated equally:
* @Stateful/@Stateless/(a)WhateverEJB.mappedName (or XML equivalent)
* jndi-name (jboss.xml)
* @RemoteBinding.jndiName
The question is, what to do in case of conflict?
@Stateless(mappedName="MyBean")
| class MyEJB{...}
ejb-jar.xml:
<mappedName>MyBeanInSpecXML</mappedName>
jboss.xml:
<jndiName>MyBeanInJBossXML</jndiName>
I say make these additive (little harm in unintentional extra bindings). The fail-fast
would be to throw an error.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176988#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...