R Sawant

Ranch Hand
+ Follow
since Aug 08, 2005
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 R Sawant

Thanks Rob... Just made sure there is no computer science fundamental involved here
13 years ago
What I really meant is why there is lack of consistency... What could have happened if table col index starts at 0 ??
13 years ago
Just wondering, why the index starts at 1 while using "java.sql.ResultSet.getString()" from JDBC API
13 years ago
Hi,
I am newbi to Apache ActiveMQ. Can I configure/create a Topic to receive a specified max number of JMS messages ? Lets say it should only have 100 messages at a time. If it receives more than 100, I should get a notification. Probably I will get JMSException. If this is true, can I know if this JMSException is due to maximum Topic capacity reached ? Thanks in advance
Faced this issue in last week while reading the same book.. figured out how to do this... giving the full sample code for mapping



Important point to note the usage of "GenericGenerator". Just google for this if you need more info. Hope this helps. Thanks

regards,
Ramdas
Hi Ranchers,
How does the container associate a stateful session bean with the respective client. In case of a webserver we use cookie to identify the client. What do EJB container use to identify the request for a stateful session bean and use that particular Stateful session bean to handle the request. Any specific protocol used ? I googled for this but didnt find any suitable answer Am I missing anything ???
Hey Eric, good job mate...
Have to admit, you read a lot...
I have not gone through those many books in my whole career of 4 years
14 years ago
Hi all,
Why the default load factor of HashMap/HashSet is 0.75 instead of 1. How is it helpful?


Thanks
Ramdas.
Really nice book. Thanks a lot


Ramdas
15 years ago
Hi all,
My servlet is sending pdf in the response. I want this pdf to open the pdf in the browser only, instead of opening in the Acrobat reader. Can i control this. Please help me out. Its urgent.

Thanks
Ramdas
15 years ago
Hi folks,
i am a bit confused about the following type cast problem


Here even I and A dont have any inheretance relationship, why it does'nt give compile time error.
If instead of a interface reference there is a class refrence on the LHS, it gives compile time error, which we all know why.

Ant one please...
Thanks in advance.

Ramdas
Hi all,
The java.util.Stack extends the Vector class. But for Stack, one should be able to insert or retrive the value from only one side i.e at the top of the stack. But since Stack extends Vector, we can use the inherited get(int index) method to access value other than the top of the stack value. It defeats the purpose of Stack, right? Then why does Stack extends Vector. Any explaination ?? Thanks in advance.

Ramdas
Hi all,
I want to create a XML string from a XML. Is it ok, if i use StringBuffer for this purpose. The idea is, go on appending the required data to the StringBuffer and finally convert the StringBuffer to String.
I am worried about one thing. If the XML is a bit large, does it affects the performance or is there any memory issue. Please advice. Thanks

Ramdas.
Hi all,
I want to create a XML string from a XML. Is it ok, if i use StringBuffer for this purpose. The idea is, go on appending the required data to the StringBuffer and finally convert the StringBuffer to String.
I am worried about one thing. If the XML is a bit large, does it affects the performance or is there any memory issue. Please advice. Thanks

Ramdas.