Sameer Mhaskar

Greenhorn
+ Follow
since Jul 13, 2005
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 Sameer Mhaskar

Thanks Jeanne,

Its a position monitoring system for a stock lending application. The users are logged in all the time but the data which is around 10 seconds old is tolerated. That is the reason I was planning to write a thread and update the data in cache every 10 seconds. I am using Web logic in a clustered environment. How can I use caching mechanism in Web logic? Any thoughts...


Sameer
15 years ago
Hi All,

I need to find a way to improve performance of my application. here is the scenario,

Its a J2ee application. The client will send the request to the servlet (programmatic) after every 10 seconds. The servlet will query the database and return the results. Currently there are few users but in future when the user base increases, this approach wont work as there will be many concurrent requests and hence load on the database and the application.

I was thinking of writing a thread which will ping the database after every 10 seconds and store the "Superset" of the data in an application wide object (e.g. a table structure in app context). The servlet will query this object instead of the database on each request.

Is it a right approach? Also in case of "Clustered Environment" will this work? My concern is whether app. context is replicated over clusters?

Can any one suggest me a better approach or tell me if I am missing something.

Any help is really appreciated

Thanks,
Sameer
15 years ago
Gus I have passed too.
I was very happy to see the word 'CERTIFIED' in my Sun Account.
Thank you all.Looking forward for more Certifications.
Meanwhile is there any Expiration period for this???
When do i get my score ???
18 years ago
Hello Group.
First of All Thank You All.
I did my SCJA Yestarday and did well.I could do it because of u guys.This forum has really helped me.THANK YOU again.
I have some queries...
1.How the multiple answer questions are assesses??? If one out of two answers is right then will I get Half of the Marks assigned to that question OR I will loose All the Marks???
2.Can we declare an Abstract class without any Abstract methods???
18 years ago