aspose file tools
The moose likes Servlets and the fly likes Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Connection" Watch "Connection" New topic
Author

Connection

visu Nekk
Ranch Hand

Joined: Sep 06, 2005
Posts: 122
Hai,

I want to create a separate connection object and call it the required servlet 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,
Regards,
Visu
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

We've discussed this a few times and the conclusion is that it is a bad idea. You should always consider a ConnectionPool.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection
 
Similar Threads
What to use where?
Right or not? Servlets share the same object.
Sharing Connection Object
File Upload
Connection in servlets