× 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.



Thanks for the advice,

So you expect I would get a better response time if I opened all files right
after the user connects and them pass the files to each class that uses
them?

As for the JTOpen I was initially using it until I started to use another
toolkit class from VAJ, that is missing in JTOpen so I switched to the
toolkit.  The class I am refering to is
com.ibm.ivj.et400.util.JFormatedTextField, will this ever be added to
JTOpen?

Thanks,
Robert


----- Original Message -----
From: "Joe Pluta" <joepluta@PlutaBrothers.com>
To: <java400-l@midrange.com>
Sent: Thursday, July 11, 2002 11:33 AM
Subject: RE: Speed issues?


> > From: Robert Upshall
> >
> > The application does allot of things, basically I will load a JList from
a
> > customer DB2 file on the as400, then based on who was select do a
> > key lookup
> > with KeyedFile, maybe to 1 or more files depending on the situation.
>
> I'm betting that the actual KeyedFile read doesn't take nearly as much
time
> as the open of the file.  Using RLA, you're going to find a lot of
overhead
> associated with opening a file.  If you start your application by opening
> all your files, then you'll find your access is considerably faster.  RPG
is
> highly optimized to allow fast opening of files; these optimizations
aren't
> available for Java code.
>
> As to reading a large block of data (many records) your overhead there
will
> be in communications and EBCDIC-ASCII conversion.  I think you'll find RLA
> performance closer to that of a program call in that case.
>
> Finally, I'd suggest getting the latest version of JTOpen.  Each release
> tries to enhance performance a little bit.
>
> Joe
>
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
>
>





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.