Peter Chan
asked on
Upload file to AS 400
Hi,
Do you have any ideas to execute one .jar file, which has been created in Win 7 environment, within AS 400 OS? How to upload the relevant file to AS 400 from Win 7?
Do you have any ideas to execute one .jar file, which has been created in Win 7 environment, within AS 400 OS? How to upload the relevant file to AS 400 from Win 7?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Even though the AS/400 (iSeries, IBM i) isn't a Unix box (it does have an AIX emulation environment called PASE, though)
Thanks for that clarification
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@shalomc:
One note about this comment
That was true in older version of the operating system, but in current versions of the OS, native code objects are no longer generated - the JVM works just like it does on other platforms and either interprets Java code or uses JIT.
JIT was first available in V4R4, but performance wasn't good. In V5R2, JIT just about caught up to native compilation, and most of the time generating a native code object wasn't a benefit after that.
With the "new" IBM Technology for Java JVM, native object creation (CRTJVAPGM) is no longer even an option. IT4J was introduced as an optional JVM in V5R4, became the default JVM in V6R1 (native JVM was still available though), and is the only JVM supplied by IBM in V7R1 and later.
One note about this comment
For large jar files, the first execution will take much longer than the next ones because the server creates intermediate code for the entire jar.
That was true in older version of the operating system, but in current versions of the OS, native code objects are no longer generated - the JVM works just like it does on other platforms and either interprets Java code or uses JIT.
JIT was first available in V4R4, but performance wasn't good. In V5R2, JIT just about caught up to native compilation, and most of the time generating a native code object wasn't a benefit after that.
With the "new" IBM Technology for Java JVM, native object creation (CRTJVAPGM) is no longer even an option. IT4J was introduced as an optional JVM in V5R4, became the default JVM in V6R1 (native JVM was still available though), and is the only JVM supplied by IBM in V7R1 and later.
ASKER
Thanks all.
Does it mean I should use relevant FTP account in AS 400, to upload the JAR files?
Does it mean I should use relevant FTP account in AS 400, to upload the JAR files?
Yes.
Any user on the AS400 can by default connect via FTP, but it is best to have a dedicated upload user profile.
Any user on the AS400 can by default connect via FTP, but it is best to have a dedicated upload user profile.
The safest way to transfer a file to a Unix server is using secure FTP