|
I'm more interested in writing Java code on a $500 PC that can be uploaded and run on a 400 without change. If that Java code runs better on my $500 PC than on a 400 then the 400 deserves a quick burial.
And it still doesn't run well.
But it doesn't. The 400 has got one of the best JVMs in the world. Whoever at IBM implemented Java on the 400 should get a medal.
Languages are tools. Java, for many problems, is a better tool that RPG. I've got a process (CLLE & RPGLE) that sends out a CSV file as an attachment using SNDDST. But this limit the file name to what is supported in a document folder (12 chars).
a) It would be easier to write in RPG than JavaMail was in Java.
b) It would run 10 times the speed.
c) It would require less memory.
d) It would be much more stable.
It took me about a day to write a program that will send an email with a file attachment from a directory using the Javamail API.
Runs great on my PC. I uploaded my code and the Javamail Jar files to the 400. It also ran great on the 400 and attached a file in IFS. Sweet! I'm still not sure how to do that with RPG (got an article from a coworker about it).
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.