• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere EJB Lookup

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic