This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Websphere EJB Lookup  RSS feed

 
Felipe Rojas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

i'm trying to make a remote call to an EJB in a remote server (Websphere / another machine) in the network.
I have a stand alone java application that i use to invoke my EJB.. I can get the stub, and the console out is "org.omg.stub.java.rmi._Remote_Stub:IOR:00bdb .........."

So, when the app run the "TesteHome home = (TesteHome)PortableRemoteObject.narrow(o, TesteHome.class);" line, it returns null when i print the hom variable value.
I've tried to solve this problem several times, but i can't figure out what's happening. Could anyone help me in this problem?

Thanks very much.



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!