java - Custom jndi name for ejb3.X with Jboss 7.1 -


i migrating 1 application weblogic jboss7.1 , ejb2.0 ejb3.x. application using jndi name ejb lookup.

could me find out how can configure custom jndi name ejb3.0 , jboss 7.1.

i have read on internet in jboss 7.1 there no concept of jndi-name. if true. let me know how can lookup jndi name, getting registered jboss ejbs present in ejb-jar.xml

    java:global/pirptfe/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacadehome java:app/pirptfe/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacadehome java:module/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacadehome java:jboss/exported/pirptfe/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacadehome java:global/pirptfe/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacaderemote java:app/pirptfe/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacaderemote java:module/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacaderemote java:jboss/exported/pirptfe/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacaderemote 

i got answer of question. in ejb3.x on jboss7.1 , above there no concept of custom jndi. have call ejb below

ctx.lookup("java:global/pirptfe/rrmsessionfacadeejb!com.bfm.app.pirptfe.heatmap.ejb.rrmsessionfacadehome");


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -