|
Re: Corba .narrow method - need to pass a java interface: msg#00018lang.jython.user
>From: Ype Kingma <ykingma@xxxxxxxxx> >To: <jython-users@xxxxxxxxxxxxxxxxxxxxx> >Subject: Re: [Jython-users] Corba .narrow method - need to pass a java interface >Date: Tue, 11 Feb 2003 19:51:18 +0100 >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 Not sure whether this pertains to the issue, but the original post doesn't mention anything about compiling the .java files in the ./Foo directory. Maybe this could be why the original poster cannot import into jython ... Thanks, Alex Kotchnev Diversified Information Technologies
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Corba .narrow method - need to pass a java interface, Ype Kingma |
|---|---|
| Next by Date: | bug with reflection, Curtis Brown |
| Previous by Thread: | Re: Corba .narrow method - need to pass a java interface, Oti |
| Next by Thread: | jsp includes jython servlet problem, christof hoeke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |