Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need mysql configuration and setup details

 
Mayilsamy Annamalai
Ranch Hand
Posts: 35
Google Web Toolkit Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could any one can give me the servlet , jsp and mysql connectivity, mysql configuration and setup details documentation or tutorial??
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you searched anywhere?

Moving discussion to our databases forum.
 
Jelle Klap
Bartender
Posts: 1951
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the context of Servlets, it would probably be best and easiest to configure the "MySQL connectivity" in the servlet container / application server.
How that works exactly is container dependent. If you can tell us which container you are using we'll take it from there
 
Mayilsamy Annamalai
Ranch Hand
Posts: 35
Google Web Toolkit Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply. I'm using the Tomcat server. And could you explain me or give me any link to study about how to use eclipse for servlet and jsp!!
Awaiting for your reply!!
 
Jelle Klap
Bartender
Posts: 1951
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to assume Tomcat 7, but there's similar documentation available online for earlier versions.
This is the server documentation index.
What your looking for is the JDBC Datasource section. It should contain an entry on how to configure a MySQL data source that uses DBCP for connection pooling.
It might be useful to read the JNDI resources section first though.

As for using Eclipse to develop Servlets and JSP pages, you'd probably want to have a look at the Web Tools Platform. Documetation can be found here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic