|
On Thu, 24 Mar 2005 12:22:41 -0500, Wilt, Charles <CWilt@xxxxxxxxxxxx> wrote: > > -----Original Message----- > > From: rpg400-l-bounces@xxxxxxxxxxxx > > [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Steve Richter > > Sent: Thursday, March 24, 2005 12:15 PM > > To: RPG programming on the AS400 / iSeries > > Subject: Re: FW: IBM's RPG Strategy (was: Long Procedure Names) > > > > > > On Thu, 24 Mar 2005 11:32:14 -0500, Jon Paris > > <Jon.Paris@xxxxxxxxxxxxxx> wrote: > > > > > > > > > >> Follow the lead of Microsoft and develop a CLI specification that > > > enables modules written in C++, RPG and Java to be used > > interchangeably. > > > > > > Steve, > > > > > > It already exists - it's called Java byte code - it's where > > Microsoft stole > > > the idea for CLI. Of course one could also say that Sun > > stole the idea from > > > the S/38, AS/400, iSeries. > > > > call it what you want, MS extended the idea so that languages with > > completely different memory models like C++ and Java could be used > > interchangeably. What MS did to make C++ an equal language in .NET was > > nothing short of outstanding. The equivalent in ILE would be an RPG > > procedure instantiating a C++ or Java class and then calling member > > functions of that class. > > > > You do realize that RPGIV can instantiate a Java class and call member > functions of that class already. > Hi Charles, No I am not. ( I only have v5r1 ). What happens when the RPG procedure that instantiated the object returns? Does the java object destruct and does the finalize member function get called? What happens when the Java code throws and exception? Can the RPG procedure catch it? Sure would like IBM to let me download their latest compiler. -Steve
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.