Detlef Schulze wrote:
Sorry, but your mail is quite confusing. You don't use an application server
but want to use JNDI? I don't quite understand what you are doing.
JNDI is a service that is offered by an application server like a EJB or JSP
Container to your application. You don't use it in a standalone program.
Even if your code runs within such a server, the way you use the service
(the code to get the connection) is different on different servers but
normally very well documented.
...
JNDI is not tied to Java2 EE or application servers in any way, you can use the API in standalone programs as well. there's nothing that prevents you from storing and fetching JDBC DataSource objects via JNDI in Java standalone programs.
best regards, -- aspa http://www.kronodoc.fi/ _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
