Hi Ozgur,
There's no standard JNDI name for a database, as it seems you think from
your question. You must define your JNDI names in a file named
default.properties, located in J2EE_HOME/config. Along with this name you must
supply a connection url, posibly the same you should use if you were to connect
to Oracle through JDBC.
Regards
Jose
Ozgur Emek Aksakal wrote:
> Hi,
> How should I access to an Oracle DB from an EJB?. In the J2EE documentation
> it says I should not use JDBC but lookup with the JNDI name. So where can I
> find the JNDI name for Oracle 8i or some code samples?
>
> Best regards
> Ozgur...
>
> ===========================================================================
> 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".
===========================================================================
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".