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



... a Datastructure in reality is some binary data with a misleading name ...structure. Java hasn't such things and you would need some very ugly jt400 components to try to translate the binary huddle to well defined data. There is a class com.ibm.as400.access.RecordFormat, but you could put any shist to this class, without any complaints of bad data, and it will crash, if you would try to get a singel field of the "structur" back.

I'm following a PORDS2POJO pattern to translate a PORDS (plain old RPG DataStructure) to a POJO (plain old Java object) encapsulating all ugly stuff as binary data and strange converting methods of jt400. You will get some impression, looking to the classes in the packages de.bender_dv.ardgate.pord2pojo. You will find the sources at http://appserver4rpg.cvs.sourceforge.net/viewvc/appserver4rpg/appserver4rpg/src/de/bender_dv/ardgate/pords2pojo/.
Most of the Beans are only support one direction, composing a DS from a Java Bean or translating a DS to a Java Bean.

D*B

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.