logo       

Re: Corba .narrow method - need to pass a java interface: msg#00017

lang.jython.user

Subject: Re: Corba .narrow method - need to pass a java interface

Tim,

On Friday 07 February 2003 23:24, you wrote:
> Hullo
> I'm trying to get jython working with the java corba implementation, as
> client code. To do this, I build some idl, use idlj to create the .java
> skeletons and helpers and then build my main client jython code. For
> simplicity, lets say the idl is in foo.idl, and this contains a module
> called Foo that defines the stuff that I want to interact with. Lets say
> that this includes an interface called Main. Idlj will put the relevant
> .java files into ./Foo The jython code needs to include stuff like:
>
> from org.omg.CORBA import *
> # something that I cannot work out to import all of the generated java
> files for the Foo client: I'd have thought from Foo import *, but this
> doesn't seem to work - jython seems unable to identify Foo as a set of
> java stuff.

Is Foo on the java class path when you start up jython?

Regards,
Ype


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise