Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Connection broker in JSP 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 » Servlets
Bookmark "Connection broker in JSP" Watch "Connection broker in JSP" New topic

Connection broker in JSP

Divyajot Ahluwalia
Ranch Hand

Joined: Nov 03, 2000
Posts: 46
Hi guys!!
I have developed a site in jsp using mysql as the database.
for connecting to mysql i am using the mm-mysql driver and the dbConnectionBroker class.
The problem is.. I want to use an object of the connectionbroker as a bean in my numerous jsp pages with application level scope. At present i am using a separate object of the connection broker for each jsp page but the number of jsp pages is increasing so i need an alternative.
How do you guys handle the connection broker object over multiple jsp pages?
Looking forward to a solution.
It is sorta covered in the JavaRanch Style Guide.
subject: Connection broker in JSP
Similar Threads
Communications link failure Last packet sent to the server was 0 ms ago
Tomcat exception
Running out of database connections using JSP
Does this guarantee a unique client?
DbConnectionbroker Null Pointer Exception when depolyed