× 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.



Phil,

you might have solved all problems by a separate C layer; (multithreading 
excluded), is it available as Open Source or Freeware, or has everybody who 
wants to do it this way to write the same stuff of his own, the same way?
Comparing the rpg code to java code (C++ as well), the java code would be 
easier to read and maintane and the java code would be more stable, 
because the java compiler does extensive type checking, the rpg compiler 
doesn't.

Dieter Bender

On Freitag, 19. März 2004 21:57, Hall, Philip wrote:
> > -----Original Message-----
> > From: Dieter Bender [mailto:dieter.bender@xxxxxxxxxxxx]
> > Subject: Re: Strategic Java Usage/Productivity
> >
> > Yes, that's one approach, but this way you get only one instance for this
> > program.
> >
> > With the rpg implementation I have the limitation to have only one
> > FileInputStream, one FileOutputStream and only one PropertyFile at the
> > same time and its rather difficult to controll the lifetime of the
> > instances.
>
> Back at the release of V2R3 (the first ILE/RPG release) I (in a previous
> existence for another company) was doing the whole RPG-OO thing.
>
> The head start I had was we ported a whole framework that we had written in
> C that actually managed the class/instance instantiation of our 'classes'.
> The frame work maintained the class and instance data and passed the data
> on each 'method' call to the object. It was much faster (performance wise)
> than it sounds. The *only* thing we had to do to the RPG versions of the
> class objects was to modify the *SRVPGM (our classes were in *SRVPGM
> objects) object to remove the system check for recursive entry into a
> function (RPG has this limitation and I believe ILE/COBOL does too) - we
> provided a program that users use to do the modification after the standard
> compile and creation of a *SRVPGM.
>
> --phil
>
>
>
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
> mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.

-- 
mfG

Dieter Bender


DV-Beratung Dieter Bender
Wetzlarerstr. 25
35435 Wettenberg
Tel. +49 641 9805855
Fax +49 641 9805856
www.bender-dv.de
eMail dieter.bender@xxxxxxxxxxxx



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.