• 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

JNDI Properties for accessing Sun J2EE RI 1.4.1 beta

 
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am writing a client program for Sun J2EE RI 1.4.1 beta but I dont know
what I should enter in the properties for accessing my ejbs ?
System.out.println("Client_3.main(args)");
Context context = new InitialContext(); // <-- what propertis values are required here
Object o = context.lookup("TravelAgentHomeRemote");
TravelAgentHomeRemote travelHome = (TravelAgentHomeRemote)
PortableRemoteObject.narrow(o, TravelAgentHomeRemote.class);
I have tried the same code with J2EE RI 1.3.1 and it works fine with the default values ( i.e without specifying and Properties ) but
I need to know the properties for 1.4.1 beta since the default dosent seem to work
vivek
 
reply
    Bookmark Topic Watch Topic
  • New Topic