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




Hi Bill,

I'm not aware of RPG data structure converters (although that doesn't
mean there aren't any,) but an alternative is to convert them to database
"files" and use table to class converters. There are several of these out
there. I've used SQL2JAVA:

http://sql2java.sourceforge.net/

with success. In a previous project, I put SQL2JAVA and Velocity together
to build a DAO, DTO and update logic pretty much automatically. The UI then
worked by programming to an interface with a background factory selecting
the specific implementation.

If you don't like SQL2JAVA, I know DAO4J is available:

http://members.lycos.co.uk/dao4j/

and you can google for others.

If you don't want to go multi-step, you could take the source from one
of these projects and alter it to work against the RPG source for data
structures.


Joe Sam

Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400

----- Original Message ----- From: "Blalock, Bill" <Bill.Blalock@xxxxxxxx>
To: "Java Programming on and around the iSeries / AS400"
<java400-l@xxxxxxxxxxxx>
Sent: Friday, September 26, 2008 3:09 PM
Subject: Looking for tools to convert RPG data structure for Java


Hi:



Does anyone know of tools to work with RPG data structures, defined as
external files or in RPG source, for use in Java programs?



I am looking for tools that

- build Java classes for RPG data structures

- use RPG data structures as template for parsing buffers into Java
classes



I am interested in anything along that line.



Thanks

Bill Blalock





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.