This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JNDI and distributing EJB. How to set up? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI and distributing EJB. How to set up?" Watch "JNDI and distributing EJB. How to set up?" New topic
Author

JNDI and distributing EJB. How to set up?

Fabrizio Pia
Greenhorn

Joined: Apr 24, 2007
Posts: 10
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.
F.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JNDI and distributing EJB. How to set up?
 
It's not a secret anymore!