Syed,
You may want to implement the DBManager as a singleton or an instance
variable, not a separate servlet. Remember that your servlets can use any
object or class in the same VM it's currently running in. The point of a
servlet is to present data to the user and get data from the user. If you
write an object which isn't doing that directly, generally it shouldn't be
a servlet. (This is an oversimplification, but it works here.)
Also, WebSphere has its own database pool which you may want to use if you
don't mind being somewhat proprieatary (it's pretty well done, and you can
monitor the connections from the admin applet). There are samples in the
docs.
Kito D. Mann
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Friday January 21, 2000 05:03 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Kito Mann/PSG/Prudential)
Subject: how can i use .servlet file
Hello All developers,
i have developed DBmanager Servlet for Connection Pooling. I have
developed a .servlet file to get the initial parameters. But its now
working. i am using WEBSPHERE 2.02. and using IBM Visual Age JAva 2.0
If anybody can help me out i will feel Obliged.
Should i do something extra except writing .servlet file.
how can i use .servlet file in Servlet. what should i do ?
please tell me in detail ..
i will be thankful
Thanx & Regards,
Syed Atif Ali Kazmi
Analyst Programmer
Systems Private Limited, Karachi.
Voice: (Off.) 092-021-4549385-88
(Res.) 092-021-404148
Fax No.: 092-021-4549389
Email: [EMAIL PROTECTED] & [EMAIL PROTECTED]
Hello
All developers,
i have developed DBmanager Servlet
for Connection Pooling. I have developed a .servlet file to get the initial
parameters. But its now working. i am using WEBSPHERE 2.02. and using IBM Visual
Age JAva 2.0
If anybody can help
me out i will feel Obliged.
Should i do
something extra except writing .servlet file.
how can i use
.servlet file in Servlet. what should i do ?
please tell me in
detail ..
i will be thankful
Thanx
& Regards,
Syed Atif Ali Kazmi
Analyst
Programmer
Systems
Private Limited, Karachi.
Voice:
(Off.) 092-021-4549385-88
(Res.) 092-021-404148
Fax No.: 092-021-4549389
Email: [EMAIL PROTECTED] & [EMAIL PROTECTED]
