Mala Sharma

Ranch Hand
+ Follow
since Oct 29, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mala Sharma

Hi,
I just set up a datasource for connection pooling in WSAD 5.1 (test server 4.0). I need to know how many connection it can handle. I have never doing testing before. I want to learn so could anyone please point me to the right direction. ANy tutorial or articles would be much appreciated. I know it may sound dumb, but i don't even know if its JUnit or HTTP test (i think it should be http test because connection would be asked through a client side i.e a browswer since its a website). Thanks a lot for your help and time.

Regards,
Mala
18 years ago
If you're going to run in on your client machine, then yes it should be there. In a nutshell, it should be in a classpath where you want to compile and deploy it. Maybe, someone else can clarify if my understanding is right.

Mala
Hi Sulbha,

If you haven't, download IBM toolkit(google for it) that contains the driver and necessary classes to connect to AS400. then you 'll need to import:

that contains the driver classes so, in your connection just register the driver by:

This will give you JDBC connection to AS400. Hope that helps.

Mala
Hi,
i think it's the datasource that we're using to manage SQl server because i ran it using JDBC through profiler and it's taking less that 4 sec. but through the application(it uses our vendors datasource to set up a connection pool and we don't have the source code for that), it could tak anywhere from 15 and up seconds.
We're using websphere 4.0 and sql server 2000. Could anyone guide me on how to set up a connection pool under that enviornment. Ay links, articles or advice would be greatly appreciated. Thanks a lot.

Mala
Hi Jeanne and Kym,

First of all, thanks a lot for your help. I turned on "show execution plan" to see where the cost was more. And it's saying table scan cost for "HN.STOCK" (where sloc = 1)is 80 %. So, i guess this is the problem now. I need that query and i have put an index on sloc along with index on itemno. Do you have any ideas on how to reduce that cost. ANy suggestions or advice would be greatly welcomed and appreciated. Thanks for your time and help.
Hello,
We are using SQl Server2000 and have to run this below query for the results. The query itself is taking more that 10 seconds. I tried the query on the query analyzer itself and took the same amount of time. the query is:

the parameters at the end of the query nikon and d70are dynamice parameters. I also have indexes on a.itemno,a.icode2,a.iedesc,b.itemno,b.ptp01,b.pcprc1,b.pcprc9,c.itemno
i'm new to database performance issues. Could someone please guide me on how to make this query run faster?. I would really be appreciative. Thanks alot for your time and guidance.

Mala

[ October 10, 2005: Message edited by: Mala Sharma ]

[edited to add line breaks]
[ October 10, 2005: Message edited by: Jeanne Boyarsky ]
Hello Ulf,
When you say "class is loaded" do you mean this:

Two t = new Two();//this loads and instantiate a class

Looking forward to the clarification(i'm a newbie as well so thanks for helping out)
Hi,

I had a interview over telephone today where i was asked the difference between a "class" and a "component". To me this question made no sense so i basically told them the difference between class and a object. Is there an answer to the above asked question or was my understanding right (it was probably HR person conducting the interview). Any comments are welcomed.

Regards,
Mala
18 years ago
Hello,
I want to know the difference and similarites between websphere and weblogic(besides both being application servers). Could someone please guide me to some article or website that explains it. Thanks for your time and help. It's really appreciated.

Mala
18 years ago
Hello,

I have a page that has different div's. The value gets passed between the div using Javascript. FOr example, One form has a array of radio button that has other information like id, name etc as hidden fields. On selection the radio button, some other div becomes visible with the values of the form of the new div prefilled with that of previous div form through Javascript. Now, My problem is:
I want the input type of the new form to be either input box or a dropdown menu depending on the value that's being passed to me. If it was JSP, i would know how to do it but since i'm not sending any request to the server, i guess i have to do it in Javascript(i'm not allowed to redesign the whole page). SO, could someone please guide me in the right direction??. I would really appreciate it.

Thanks,
Mala
Hello,

I want to cache some simple database query results when the application is deployed and store it in the context scope. Normally, i would do it in the init() method of the command servlet. But i don't have the source code for the servlet. So, what i was thinking was make a Listener class that implements the ServletContextListener and store the values in there (in the ContextInitialized method). I can define that Listener in my deployment descriptor file. Am i on right track??
18 years ago
I think i offended someone with my post that's why it got deleted. I really want to apologize for this and it wasn't my intention. May they rest in peace
[ July 07, 2005: Message edited by: Mala Sharma ]
18 years ago
Hello,
I want a page where there's a radio button on the top and disabled form (all the fields in the form greyed on so you can't type on it) but if a radio button in checked then the form should be enabled(now you can type on it). Could someone please tell me how to do that. I'm a newbie in javascript. I would appreciate all the help. Thanks.

Mala
Hi Shailesh,

I don't think there's anything wrong with that name. Just because, a person by that name happens to be a famous cricketer, doesn't make that name illegal for some one else to use . Maybe, that's his real name.
[ May 13, 2005: Message edited by: Mala Sharma ]
18 years ago
I think i know what to do. I'll try it tomorrow and ask for help if there's any problem. Thanks.

Mala
18 years ago