Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: Re: How to access J2EE ejb bean from Java application


Message #1 by "John Wooten" <jwooten@s...> on Thu, 7 Mar 2002 15:23:40
Was there ever an answer to this!  I have exactly the same problem and 
know that my client application works IF I enter -
Dorg.omg.CORBA.ORBInitialHost=serverIP as an argument to java on command 
line.  However, I need to be able to set this within the program depending 
hopefully on something in the jndi.properties file on my client machine.

> Hi,
> 
> I'm trying to access J2EE ejb bean from stand-alone Java only(no J2EE) 
> application. This Java-only application resides on a workstation 
different 
> than J2EE. I tried it using J2sdkee1.2.1 and J2sdkee1.3 with no success, 
but 
> was able to do it on Weblogic using PROVIDER_URL and 
INITIAL_CONTEXT_FACTORY 
> variables and T3 protocol. Couldn't find value for these variables in 
J2EE 
> documentation. What is value of PROVIDER_URL and 
INITIAL_CONTEXT_FACTORY  
> variables for SUN Server Implementation (j2sdkee1.3)?
> 
> Anatole
> 

  Return to Index