I have an application which I am migrating an application(EJB Application to be specific) to EJB 3.1 from EJB 2.1.
Now, I want a custom JNDI mapping for a Stateless bean. I had set the mappingName with the Stateless Annotation, but it only sets the mapped-name XML Tag in the ejb-jar_merged.xml file.
Now, I want to set the following simple-binding-name
programatically, probably via using the EJB3.1 Annotations. Is that possible to do so?
I except the following, ibm-ejb-jar-bnd.xml to look this way(Potentially without creating this file manually).
<session name="SomeEJBBean" simple-binding-name="ejb/org.abc.ejbclient.SomeEJBBean"/>
Any help is greatly appreciated.
------------------------------
Rohit
------------------------------