Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

kris reddy

Greenhorn
+ Follow
since Nov 07, 2000
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 kris reddy

I am assuming that ur client side is an Applet. U have to develop a server side program that listens to the socket requests from the client. In this scenario u can have a dedicated connection between the client and server for transfer of data.
Hope this makes sense.
15 years ago
hi,
Two EJB's talk to each other via Remote Procedural Call's. Web Services employ HTTP for communication of data between java components.
Which of the above 2 ways is a better way of data communication between Java components in a distributed environment?
Any input on this is appreciated.
Thanx
15 years ago
I understand that when components are distributed and when they need to talk to each other, EJB is employed (Considering a web scenario). Do web services act as an alternative to EJB ? Any input on this is appreciated.
Thanx
15 years ago
This is the version of Java I used to compile my applet. I have used Sax parser in my applet.
C:\>java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
This applet would not run in an the client (Machine) environment that has JRE 1.3.1.
Will I have to recompile all the files, that the applet used in order for this applet to work, in JRE 1.3.1 ? Is there any other way to solve this issue ?

Thanks in advance for your insite.
peace out,
Kris.
15 years ago
well my question is about the type of storage in an ArrayList. I understand that ensureCapacity operation dynamically reduces the amount of incremental reallocation.
Take it Ezy Ron,
kris
16 years ago
When using a ArrayList, does the ArrayList dynamically allocate some memory for the object being stored or does it reference the address of the object location. I would like to know what happens internally.
Chill,
kris
16 years ago
I have a class with some data members in it. Data for the objects comes frm a XML file. I have to parse out the xml file and create objects. Before reading the XML file i dunno as to how many objects i need to create. I wud like to know a way where I can dynamically increase the size of the object array as I read through the XMl file.
Thanks in advance,
Kris.
16 years ago
I am using apache tomcat for running servlets. I would like my servlet to print out some debug statements when it is executes. I have included some console output statements. I am not sure where to look for the debug output. Where are these debug statements getting printed?
Thanks in advance.
Have a good day,
Kris.
16 years ago
I would like to know if I can create a hyperlink in a applet GUI. If so plz tell me how it is possible.
Thanx,
Kris.
16 years ago
I have developed an applet using j2sdk1.4.0 and works in a html page on the clients browser only if the client machine has the latest java plug-in installed. what can I do to make my applet independent of the java plug-in. Ur help will of lot of help. Thanx in advance.
Kris.
16 years ago
I have this applet that is distributed in a html page. This is the embedded code:
<APPLET code="API.class" archive="../adl/datamodel.jar,../adl/lmsclient.jar,../adl/debug.jar" codebase="../adl/" height="0" id="APIApplet" name="APIApplet" width="0" MAYSCRIPT="true">
</APPLET>
I have IIS 5.0 running on my machine. When I try to access this applet on my machine, the html is able to load the applet and when I try to access the same from a different machine it says that the "API.class" is not found. I wonder how this problem can be fixed, I would appreciate ur help on this. Thankx in advance
Kris.
16 years ago
Hi fellas,
Is there a tool or utility that converts ISAPI Dll's to Servlets. Plz lemme if there exists one.
Thanks in advance,
Kris
16 years ago
I would like to know if more than one line can be present in a String. Is so plz gimme an example.
I would really appreciate your help.
Thanks,
Kris.
16 years ago
May be you want to try using a URL connection to connect the applet and the servlet and pass data as a stream using the connection.
Kris.
16 years ago
Hi
I have to develop a servlet(say servlet name is "test") that has to generate a html output by parsing a text file on the server. The text file at times may be in the middle of an update, by another process. So is there a way I to put the servlet to sleep for a while and then parse the text file?
Will a java bean be of any use?
I would really appreciate the help on this.
Thanks,
kris.
16 years ago