This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes JNDI Properties for accessing Sun J2EE RI 1.4.1 beta Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "JNDI Properties for accessing Sun J2EE RI 1.4.1 beta" Watch "JNDI Properties for accessing Sun J2EE RI 1.4.1 beta" New topic
Author

JNDI Properties for accessing Sun J2EE RI 1.4.1 beta

Vivek Viswanathan
Ranch Hand

Joined: Mar 03, 2001
Posts: 350
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


Vivek Viswanathan SCJP 1.2, SCJP 1.6,SCJD,SCEA,SCWCD,IBM-484,IBM-486,IBM-141,Ms.NET C# 70-316,SCMAD, LPIC-I
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNDI Properties for accessing Sun J2EE RI 1.4.1 beta
 
Similar Threads
PLEASE, I need help with this..............
JNDI Properties for accessing Sun J2EE RI 1.4.1 beta
2 basic questions...
Too many exceptions for first EJB Client App
JMS Queues & Connection Factories - Remote JNDI lookup