Craig Rykal

Greenhorn
+ Follow
since Feb 07, 2002
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 Craig Rykal

To make the *** line correct, I would have to do the following.
getB(A aInstance)
{
B_Ifc bInstance = new B();
bInstance = A.get_B_Ifc( bInstance.getKey() );
}
The reason I don't want to do the above is because Why create another B? When the B already exists on the HashMap? My new B above will be available for garbage collection as soon as I return the Instance that's in the HashMap.
I realize that using the name of the Class in the HashMap restricts that only one of that Type exists. That is up to the Class that inplements B_Ifc. In my case, I actually want to enforce the singularity.
Does this enlighten you, or just confuse you some more? I know the differences between Instance and Static, but kind of want a way to use the functionality of both. Understand?
Thanks for replying! I appreciate it!
21 years ago
Here's what I want to be able to do:

The Line marked with the *** is the one I have a question about. I realize the way it is written above is wrong. What I would like is the caller of A.get_B_Ifc() to have access to the same Key as that of line +++ where object.getKey() is used. But I would like to do this without creating an instance of B.
Is this possible?
I appreciate any help here... Thanks!
[ January 22, 2003: Message edited by: Cindy Glass ]
21 years ago
Hi. I've got an application that does both a file upload and file download using a Servlet. Currently this functionality handles 10s of thousands of records for both upload and download. Here's my problem. I need to be able to download a REALLY large file. For example, a possible upload file would be 100,000 records. The download file would be in the range of 1,000,000 to 20,000,000 records. One record could contain anywhere from 50 to 1000 characters. Does this sound feasible using this technology? Or is there a better way? Is there a possibility of FTP uploads and downloads in a Servlet?
21 years ago