• Subject: Re: "Client Access" for Linux
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 30 Nov 00 22:48:55 +1100

Hello Brad,

You wrote:
>"Our application uses Java, which is 100% portable*."

The statement is true provided the JVM implementation is good and that the Java 
developers haven't done stupid things like use JNI or use VisualJ++.  That is 
different from being able to migrate OS/400 code from CISC to RISC -- if the 
code still 
has observability.

>* Java portability depends on the JVM installed on your machine.  It also
>only applies to applications, not servlets, beans or applets.  

All of the above Java programs are equally portable.  The problem is again in 
the JVM 
implementation (for Applets) or developer's choices (for Applications, 
Servlets, and 
Beans).  Java at least minimises the pain of porting unlike e-RPG which can't 
be ported 
at all.

>So, chances are since we wrote this for M$, it will only work on M$ just like 
>if we had
>programmed this in VB exclusivly for M$, except it will run slower.  

A comparable Java application is unlikely run slower than VB unless you are 
using the 
Micros~1 JVM.  It is likely to run slower than C (or its incremental 
derivative) but the 
benefit IS better portability.  The only way Java is restricted to the Micros~1 
JVM is if 
VisualJ++ is used to effectively turn Java into Active-X objects or the Java 
code is 
simply a wrapper for a series of C DLLs invoked via JNI.

>But hey, it sold the product, didn't it?  

And exactly who's fault is that?  If purchasers exercised their own grey matter 
didn't believe any marketing hype they'd all be running a certain 64-bit, 
integrated OS.

>And please don't ask us how to tell which JVM you have installed.    

String whichJVM = System.properties.getProperty("java.vendor");
String whichVersion = System.properties.getProperty("java.version");
String whichOS = System.properties.getProperty("os.name");
String whichOsVersion = System.properties.getProperty("os.version");

A piece of the proverbial .....


snicker ... since Micros~1 haven't managed to kill Java they are attempting to 
make a 
hash of C.

Simon Coulter.

 FlyByNight Software         AS/400 Technical Specialists       
 Eclipse the competition - run your business on an IBM AS/400.  
 Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           
 Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      
 Windoze should not be open at Warp speed.                      

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

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

This mailing list archive is Copyright 1997-2020 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].