Hi guys,
I'm using a Tomcat 5.5.17, MySQL DB and and JSP's at this point in time, possibly changing to JSF.
What I've acheived currenlty is to use the code below (and some more) to connect to a DB - i.e.just java-database (no webserever)
On the Tomcat I'm using JNDI. I want to do the same locally, rather than use two distinct methodologies and then cut/paste code etc.
Does anyone know of a good code examples on how I could use JNDI locally i.e. between java-mySQL database (not using the browser).
Thanks in advance for your views
Zein
I'm using a Tomcat 5.5.17, MySQL DB and and JSP's at this point in time, possibly changing to JSF.
What I've acheived currenlty is to use the code below (and some more) to connect to a DB - i.e.just java-database (no webserever)
On the Tomcat I'm using JNDI. I want to do the same locally, rather than use two distinct methodologies and then cut/paste code etc.
Does anyone know of a good code examples on how I could use JNDI locally i.e. between java-mySQL database (not using the browser).
Thanks in advance for your views
Zein