S
Sojwal
We have written a java application (client app.) which talks to a
Struts web based application (server app.). It works as follows:
1. Basically the client app. sends a list of files to download.
2. The server app. gets the files from a ftp site, zips & encrypts
them.
3. The client app. calls a servlet which then reads the encrypted zip
created on the web server & streams it to the client app.
4. The client app. saves zip file locally, decrypts & unzips the
files.
The client app. was earlier in the form of an applet.
The problem we have is that the client app. runs quite fast in applet
but runs very slow when run as java application from command line. We
are using Windows 2000/JDK 1.4.2 on client side & Redhat Linux
7.3/Tomcat 4.1.27/JDK 1.4.1 on server. Any ideas why this might be
happening?
Thanks in advance.
Struts web based application (server app.). It works as follows:
1. Basically the client app. sends a list of files to download.
2. The server app. gets the files from a ftp site, zips & encrypts
them.
3. The client app. calls a servlet which then reads the encrypted zip
created on the web server & streams it to the client app.
4. The client app. saves zip file locally, decrypts & unzips the
files.
The client app. was earlier in the form of an applet.
The problem we have is that the client app. runs quite fast in applet
but runs very slow when run as java application from command line. We
are using Windows 2000/JDK 1.4.2 on client side & Redhat Linux
7.3/Tomcat 4.1.27/JDK 1.4.1 on server. Any ideas why this might be
happening?
Thanks in advance.