× 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 don't know. How long ?

If you do recall I mentioned there are use cases for the app server as well which keeps the JVM loaded and uses for simpler Java calls as well.

Our iForms software is such an product. It runs in an app server and the JVM is active all the time.

Just do anything other than calling Java from RPG unless that's all you know.

Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com

-----------------------------------------------------------------------------
Subject: RE: Java extensions directory vs Excel generation
From: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
Date: Mon, 22 Jan 2018 22:07:05 +0000

How long would it take to run it 10 times using the same JVM?

-----Original Message-----
From: Richard Schoen [mailto:Richard.Schoen@xxxxxxxxxxxxxxx]
Sent: Monday, January 22, 2018 3:55 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Java extensions directory vs Excel generation

OK, since I like to back up my statements with facts as well I just ran a sample CL command loop that loads a java class/program that uses JT400, sends a message and returns a response.

I ran it 10 times in ~12 seconds.

One second per iteration is not bad considering this is instantiating the JVM, connecting to a remote system with JT400 and running a command.

I am happy to share these examples with anyone who wants to benchmark Java calls on their own system.

Of course mileage will vary depending on what you're instantiating and how much data you're processing just like any other program, but pure JVM startup isn't always going to be your issue.

Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com

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.