ruhail akhtar

Greenhorn
+ Follow
since Apr 20, 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 ruhail akhtar

If I am using Lists ( Vectors) quite often in my Java Library, should I be constructing a pool of lists and using lists from pool. I wanted to improve the performance of my application by using pool. Does Garbage collection messes up with the pool of list objects? Any suggestions would be appreciated.

-R
19 years ago
Thanks to you all. This was really helpful.
-R
19 years ago
I am having basic string problem in java

public static main(..)
{

List l = new Vector();
String abc = "";

A.getinstance().func(l,acb);

System.out.println(" the size of l is " + l.size());
System.out.println(" the abc is " + abc);
}

Class A{

...singleton instance....

public void func(List l,String x)
{
l.add("1");
l.add("2");

x = "3";
}


The result is 2 and "";

The question is why x is "" and not "3".

Thanks,
R
19 years ago
JCA
I posted a question about JCA to see if JCA can be used as a socket client. However I didnt get response, so am writing again. My question is can JCA be socket client, capable of receiving and sending messages. I want some mechanism so that I can incorporate MDB together with JCA to listen to one socket connection. Could you please provide some insight to this.I don't want want to poll socket connection to see if there are any messages. That is why I want to use asynchorous MDBs. You suggestion will be helpful what ever it is.

Thanks,
-R
Hi all,
Can JCA adaptor be a tcpip client? That means that it should have connection to the tcpip server and connection should always be up. I get confused when they talk about JCA adapter is standard for connecting to legacy systems such as Databases and yet it can implement any propietery protocal. Additionally can JCA adapter have inbound queue and outbound queue listening to same socket connection and yet serving one client (session bean). If there is alternative to JCA please write.
Thanks,
R
Hello,
I am struggling to find out how can I can I make use of the XML schema, when I parse my XML document with SAX parser. I have to need to find out types and constrainsts of the elements which are defined in XML schema of the XML document.
I am kinda thinking I have to write XML schema parser as well. Any thoughts or suggestions will be appreciated.
Regards,
Akhtar