× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I thought that once the class has been implicity compiled and a java program
object created, that it should not have to be compiled again via CRTJVAPGM.
Therefor the slowness should only occur once.

I have a java program that behaves similarly. I subscribe to the slow class
loading theory. If possible, perhaps you could run your server interactively
and start your JVM with the -V option so it will display the classes as they
are loaded. This was very enlightening for me. It is amazing how many
classes it has to load. It takes significant time, at least on my program. I
am seeking a way to "pre-load" all this stuff so it will be ready when a
real request comes in.

-Marty

-------- original message -------------


One thing about using jar files... to enhance performance, compile the jar
files before they are used (CRTJVAPGM).  I always submit these compile jobs
to batch because it is a big job.  If you do not compile these before using
them, the classes will be compiled the first time they are instanced.  This
might be what is happening....

Mike

----- Original Message -----
From: <AAnuszewski@hammer.net>
To: <java400-l@midrange.com>
Sent: Thursday, November 15, 2001 12:06 PM
Subject: Re: sluggish java program


>
>
>
> No.  It is a simple tcp/ip socket server.  It does use the jt400.jar to
manage
> connections with a data area and some data queues.
>
> Amy


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.