|
Were you parsing the XML with RPG or Java? I tried the RPG parsing but it turned out to be !yuck! so I took a look at the Java parsers and those work a ton better in my opinion. If you need some example code for Java let me know. I have just finished my first XML parsing program and am pretty darn proud of it even though it doesn't do that much:-) Aaron Bartell -----Original Message----- From: David Morris [mailto:David.Morris@plumcreek.com] Sent: Tuesday, December 04, 2001 7:18 AM To: rpg400-l@midrange.com Subject: Re: Embedded Java Jon, Thanks, you don't happen to know the issue of iSeries Magazine? I took a look at their Web site and couldn't find it. After playing with this some over the weekend, I am still on the fence. It is hard to beat a Java program running in a server job waiting on a data queue. I think that an RPGIV wrapper around the Java Mail API would be a good choice. I was working on something more mundane -- XML parsing. David Morris >>> Jon.Paris@Partner400.com 12/03/01 10:53 AM >>> I've played with it some David. Haven't had any real problems to date - but then I haven't done that much. I used the examples that Barbara Morris and Hans Boldt produced for iSeries mag as the starting point and went from there. I have not experienced any problems converting varying length fields to String objects - the compiler did the work. I suspect that it makes more sense to have Java build the strings etc. to simplify the RPG interface. Personally I think the support for creating RPG JNI routines is the most valuable - the support for RPG creating/using Java is nice to have but I don't see it getting a lot of use for a year or two. I intend to play with the Java e-mail support from RPG when I get access to a V5 machine again. Jon Paris Partner400 _______________________________________________ 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.
As an Amazon Associate we earn from qualifying purchases.
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.