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



Explain "define all of those prototypes"

RPG will need some what to know the struture of the method
you plan on using.  Without a prototype, how would it know
what you're trying to do?  Same with ILE subprocedures.

If you're using a lot of Java methods in RPG, then I would
question why you're not using one or the other only.  Is the
Java method doing something that could be just as easily
done in RPG, or could it be a Java app alltogether?

Or are you just playing around with the new feature?

Brad
www.bvstools.com

On Fri, 14 Dec 2001 09:54:19 -0700
 "David Morris" <David.Morris@plumcreek.com> wrote:
> Group,
>
> While playing with Java some more, it seems strange that
> you have to create a prototype for every Java method.
> That
> really limbers up the fingers, but seems avoidable. Do I
> really have to define all of those prototypes?
>
> One way to reduce some of this burden would be to
> generate
> a huge prototype that defines all possible methods in a
> jar or
> the java runtime. The names are certain to get out of
> hand and
> I don't know of any way to like(protype) that actually
> created a
> prototype definition. Using names like could just see
> using code like:
> com_plumcreek_log__getLogger$org_apache_log or
> org_apache_logger__debug$void$java_lang_String
> Precompiling would be an option, but the
> RPG compiler is not really pre-compiler friendly.
>
> Maybe a Code/400 Function that used reflection to build
> these
> on demand? Other ideas?
>
> David Morris
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries
> (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/rpg400-l.
>

Bradley V. Stone
BVS.Tools
www.bvstools.com


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.