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

connectivity in war file

 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello...
i am working on one project java with database ms access ....i hav created dsn and all manully...so i want to know when we create war file to deploye on the server then how we hav to carry out the dsn name and connectivity...is there also has to do manually or some where in file we have to write configuration...???
please solve my query....thank you...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kirtesh,
How to do this depends on your server. What are you using - Tomcat, JBoss, etc?
 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks For Reply..
I am using Tomcat....
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our Tomcat forum.
 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so how can i do???
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've seen your topic before in the another forum, but I initially ignored your topic, because your topic start isn't pleasant to read. You don't seem to show some effort to write proper English. Capitals are missing, some words are garbled and there are lot of dots in between each sentence. That doesn't motivate at least me to help you. Also the problem details are missing in your topicstart. Please read this http://faq.javaranch.com/java/ShowSomeEffort and this http://faq.javaranch.com/java/TellTheDetails
 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Sir next time I will take care of all those things which you have mentioned.
but please help me to solve my query.
Thank You.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on how you've written your code.
Have you started yet?
If not, you should read up on connection pooling in Tomcat (Container managed connection pooling) and write your app to use it.
It is spec driven so you won't need to alter your code if you move to another, spec compliant container.

See:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic