Okay, my apologies if this has been answered before. It's quite a basic
question!

What's the 'best' way to get a java.sql.Connection within a Tapestry
application. For instance in a Struts application I have a
DbConnectionBroker instance referenced in the application context. Any
servlet can access it by pulling it out of that context.

I am not sure how this would work in Tapestry ... any ideas?

Do I subclass ApplicationServlet and add getConnection() type methods? How
would my BasePage-derived 'pages' access this?

Thanks,
Alex


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to