JBoss & EJB related question
The question is: How to make JBoss bind EJB to specific JNDI name?
In ejb-jar.xml there is no option (at least I have not found one) to specifi JNDI name the bean is bound to. This question appered during migration from JBoss AS 4.0.1sp1 to JBoss AS 4.0.2RC2. In 4.0.1 remote and local EJB interfaces were bound to "ejb-name" and "local/ejb-name" respectively (for ex. bean named "java:/aaa/bbb/BeanExample" was bound to "java:/aaa/bbb/BeanExample" and "local/aaa/bbb/BeanExample"), and in 4.0.2 they are bound in this way: "ejb-name", "local/ejb-name@something" (for remote and local homes respectively, "something" is changed after redeployment). Alternative question is: how to lookup local homes in this case?
Any help is appreciated. Thank you in advance.
God bless you,
-- sk1nny_puppy
In ejb-jar.xml there is no option (at least I have not found one) to specifi JNDI name the bean is bound to. This question appered during migration from JBoss AS 4.0.1sp1 to JBoss AS 4.0.2RC2. In 4.0.1 remote and local EJB interfaces were bound to "ejb-name" and "local/ejb-name" respectively (for ex. bean named "java:/aaa/bbb/BeanExample" was bound to "java:/aaa/bbb/BeanExample" and "local/aaa/bbb/BeanExample"), and in 4.0.2 they are bound in this way: "ejb-name", "local/ejb-name@something" (for remote and local homes respectively, "something" is changed after redeployment). Alternative question is: how to lookup local homes in this case?
Any help is appreciated. Thank you in advance.
God bless you,
-- sk1nny_puppy
