Take a look at the product and cart demos in  $ORION\demo\ejb - making sure 
that your jndi.properties file is in your classpath.

We have command line test programs for all our entity and session beans, 
and run them with the following .bat file:



set what=<testname here>
if not "%1"=="" set what=%1

set STCP=c:/java/testsuite/sbdtest              // app directory
set STCP=%STCP%;c:/java/orion/orion.jar
set STCP=%STCP%;c:/java/orion/ejb.jar
set STCP=%STCP%;c:/java/orion/jndi.jar

rem java -Xmx32M -Djava.compiler=NONE -classpath %STCP% 
sbd.sd.ejb.%what%.%what%
Test

java -Xmx32M -classpath %STCP% sbd.sd.ejb.%what%.%what%Test


At 01:20 AM 10/17/00 -0400, you wrote:
>Hi Greg...
>
>You won't find this messsage too helpfull, except that I can tell you it 
>can be done. I tried it and got it to work. I did so be searching the archives.
>
>I no longer have the code I slapped together, or else I would sent it to 
>you. Bu the answer is in the mail list archive.
>
>Good luck.
>
>Jim
>
>
>--On Tuesday, October 17, 2000 2:52 PM +1000 Greg Matthews 
><[EMAIL PROTECTED]> wrote:
>
>>
>>dear all,
>>
>>is it possible to call EJBs running in orion from a java program started
>>at the DOS command line, i.e from outside orion?
>>
>>i guess i might have to generate the client stubs (?). has anyone done
>>this?
>>
>>this would be useful when building the ejb components to be used by the
>>web developers.
>>
>>thanks,
>>greg
>
>
>
>


Kirk Yarina
[EMAIL PROTECTED]


Reply via email to