This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in JNDI binding

 
subir rastogi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?
Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Based on that JNDI listing, you should be using EJB1EAR/ProcessPaymentBean/remote as the JNDI name
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


Thanks
SCJP,SCWCD
 
subir rastogi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, its working.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic