File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt in JNDI binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt in JNDI binding " Watch "Doubt in JNDI binding " New topic

Doubt in JNDI binding

subir rastogi

Joined: Apr 11, 2006
Posts: 18
I have created a stateless bean -ProcessPaymentBean with local and remote interfaces.
In Jboss console in JNDI view under global jndi namespace, I am seeing -

In my test client, I am doing -

but getting error -

Any idea about what is it that I am doing wrong? and how to correct it?
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Based on that JNDI listing, you should be using EJB1EAR/ProcessPaymentBean/remote as the JNDI name

[My Blog] [JavaRanch Journal]
rachna jain
Ranch Hand

Joined: Jul 14, 2009
Posts: 76
Hey subir

I just wanted to know is your code working after making changes in lookup name of bean

as i am also facing the same problem .

Please let me know the solution.


Rachna Jain
subir rastogi

Joined: Apr 11, 2006
Posts: 18
Yes, its working.
I agree. Here's the link:
subject: Doubt in JNDI binding
It's not a secret anymore!