This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Writing a Connection Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Writing a Connection Bean" Watch "Writing a Connection Bean" New topic
Author

Writing a Connection Bean

Vasudevan Gopalan
Ranch Hand

Joined: Aug 29, 2003
Posts: 67
Hi all,
Can anyone give me a sample code of Connection bean so that i can use the bean for establisng connection with database.
Regards,
Vasu
Faisal Khan
Ranch Hand

Joined: Jun 29, 2003
Posts: 285
this may help: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html


The secret to creativity is knowing how to hide your sources.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Writing a Connection Bean
 
Similar Threads
Dealing with multi-threading in servlets
DB2
Web Application
Bean for Servlets
look up datasource from session bean