• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI and distributing EJB. How to set up?  RSS feed

Fabrizio Pia
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I'm new to EJB and overall JNDI!!
I'm developing an application client that should call a remote EJB method.
EJB (ver 2.1) is running on glassfish server. Using netbeans 6.1, it makes two EJB modules, related to the client and to the EJB.
I'd like to simulate a client that call an EJB located on a remote server.

Two problems:
1) I got the message "This bean [ConverterBean] has no ejb reference by the name of [ejb/ConverterBean]". My sun-ejb-jar.xml is

and my ejb-jar.xml is

What is wrong?

2)The second message I got is: Invalid Deployment Descriptors element jndi-name value corbaname:iiop:remotehost:3700#ejb/ConverterBean"

But reading the documentation it seems correct. Anyway my sun-application-client is

Can anyone help me?
thank you.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!