>I have C++ code running in a remote machine.
>I am going to access it through CORBA.(i dont mind using RMI if it is more
>appropriated.
Access it from Java? Then it is either Java with CORBA or Java with RMI-IIOP
>I am wondering if i can somehow assign a JNDI name to this code and use has
>a data source.Do i have to wrap the C++ code in some kind of "driver" much
>like the way JDBC does.
Register the C++ object with a COSNaming service and then use JNDI from
Java client to access it. You will need a JNDI COSNaming provider.
>I am talking non sense?
Not really ;-) but you may want to read a book on Java/EJB/J2EE
maybe "Java Enterprise in a Nutshell" from O'Reilly.
Regards
Javier Borrajo
www.tid.es
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".