satya ganesh

Greenhorn
+ Follow
since Jul 14, 2008
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 satya ganesh

I will just make the canditate feel comfortable initially, by having a general discussion like -
Tell about yourself (technical introduction, about the company,)
About the project
About the domain

Then i will try to get into some real java stuff..
14 years ago
I understand that while overriding equals(Object) it is good to override hashcode() method in java. (This is used in hash based collections).
Here's my Question:
Is it necessary to use an exponential function to calculate hashcode(), String class's hashcode is calculated using an exponential function:
s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1]

Your valuable thoughts on this Please??
14 years ago
In SOAP message, I believe its not possible to mention whether its a Document style or RPC..

Is it Possible to figure out whether it is a Document style or RPC style of messaging only by looking at the SOAP message?
14 years ago
For any body who is reading this page, this might help...

I faced the same problem only for the first time i start the application, it was tricky and i found that in the web.xml, i did not load the ActionServlet during the start-up and it had not parsed the struts-config.xml when the request had come. The problem is solved when i added the following line in web.xml ActionServlet's configuration,
<load-on-startup>1</load-on-startup>
14 years ago
I deployed a web service(5.1.2) in websphere using WSAD. I understand that the web service is being deployed as a servlet. In the web.xml - servlet mapping the servlet class is simply a implementation class for the PortType interface that extends javax.rmi.Remote interface. I am not able to see any HttpServlet class here.

How the server responds to HTTP requests if it doesnot have any Servlet class??
14 years ago
Hi Paul,
Thank you for your reply.. suppose if there is some functionality like uploading some file (that is of huge size). And many users are concurrently uploading file (job sites for instance, where more than hundreds of canditates are uploading their resume concurrently) and the uploads take more time.
In this scenario, can you please throw some light on how the server will do the process?
15 years ago
Can somebody please explain me how to handle multiple requests for a servlet considering the following scenario,
1. Consider that the web server recieves more requests and the maximum number of threads(configured in xml) running in the server has crossed the limit.
2. consider that each thread will take more than 5 minutes to complete the process.

In the above scenario, whether all other clients requesting the server should wait? or is there way to avoid this apart from clustering and load balancing?
15 years ago