This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Joined: Sep 06, 2005
Jan 20, 2006 00:18:00
I want to create a separate connection object and call it the required
classes rather than going for a connection object in each servlet class.Can we do this using javabeans or is there any other method?
Thanx in advance,
Joined: Mar 06, 2001
Jan 20, 2006 00:35:00
We've discussed this a few times and the conclusion is that it is a bad idea. You should always consider a ConnectionPool.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
What to use where?
Connection in servlets
Right or not? Servlets share the same object.
Sharing Connection Object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015