This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi I installed java web service, jwsdp-1_0_01 which also includes tomcat server. I am using it to connect to mysql db server. A driver, mysql-connector-java is provided to help in the connection. Its a jar file. I want to know where i should put this file to enable it to function. I put in C:\jwsdp-1_0_01\common\lib and in C:\jwsdp-1_0_01\shared\lib but nothing seems to be working. Anyone has any experience in this? Thanks
The answer is the same for both of you. It depends! If you want it available to the server, it needs to be in the server classpath. For Tomcat this is server/lib I don't remember oc4j's directory structure well enough but, look for the class12_dms.zip or jar and place it with that. This will make the jar available for use with JNDI and sounds like that's what you are looking for. The shared lib is good if you are creating your own connection pool in your webapp. Another loction for this is in your webapps lib directory.