Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection broker in JSP

 
Divyajot Ahluwalia
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Regards,
ds
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic