Hi everyone
I don't know how to post a msg on the board yet,so I
have sent this email to everyone.
we are having trouble connecting to our database with
JNDI.
The main problem is that we don't know how to define
the URL needed in the deployment descriptor.
we are using Mastering Enterprise JavaBeans and the
J2EE by Ed Roman as a reference. In his book, he used
several examples, here are some of them:
... initCtx.lookup("java:comp/env/jdbc/EmployeeDB");
... initCtx.lookup("dn=MyDB");
These two look very different, the top one looks like
a path, and the second one is like an assignment.
Which one is right?
If we have some datasource on the local computer, how
should the URL be defined.
Here is an example, say we have a SQL file at
E:\temp\ed\noh\scott\thefile.SQL,
what is the URL for it?
Tem Wang
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
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".